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