public static OTUtils init(Settings s) { lock (padlock) { if (instance == null) { instance = new OTUtils(); instance.settings = s; instance.logLevel = s.getOTLogLevel(); } return(instance); } }
public static QueueManager getInstance(OTUtils otUtils) { return(new QueueManager(otUtils)); }
private QueueManager(OTUtils otUtils) { this.abbyyRs = new AbbyyRSWrapper(otUtils.getSettings()); this.otUtils = otUtils; loadExportSettings(); }