This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private static class WorkbookHandler extends DefaultHandler { | |
| private String wbName; | |
| private String rid = null; | |
| public WorkbookHandler(String wbName) { | |
| this.wbName = wbName; | |
| if (wbName == null) throw new RuntimeException("wbName must not be null"); | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var q = require('q') | |
| , mongodb = require('mongodb') | |
| , Db = mongodb.Db | |
| , Server = mongodb.Server; | |
| var server = 'localhost'; | |
| var port = 27017; | |
| var dbconnections = []; | |
| var sem = require('semaphore')(1); |