Package cx.fbn.nevernote.utilities

Examples of cx.fbn.nevernote.utilities.ApplicationLogger


    disableUploads = disableUploads()// Should we upload anything?  Normally false.
    //disableUploads = true;  //***** DELETE THIS LINE *******
    enableCarriageReturnFix = enableCarriageReturnFix()// Enable test fix?
    enableHTMLEntitiesFix = enableHtmlEntitiesFix()// Enable test fix?
   
    logger = new ApplicationLogger("global.log")// Setup log for this class
    shortcutKeys = new ShortcutKeys()// Setup keyboard shortcuts.
    mimicEvernoteInterface = getMimicEvernoteInterface()// Should we mimic Evernote's notebook behavior
    resourceMap = new HashMap<String,String>()// Setup resource map used to store attachments when editing
     
    databaseCache = getDatabaseCacheSize();   // Set database cache size 
View Full Code Here


  private String                errorMessage;
  public int                  lastError;
 
  public ExportData(DatabaseConnection conn2, boolean full) {
    conn = conn2;
    logger = new ApplicationLogger("export.log");
    notebooks = new ArrayList<Notebook>();
    tags = new ArrayList<Tag>();
    notes = new ArrayList<Note>();
    sharedNotebooks = new ArrayList<SharedNotebook>();
    linkedNotebooks = new ArrayList<LinkedNotebook>();
View Full Code Here

  }
 
 
  public ExportData(DatabaseConnection conn2, boolean full, List<String> guids) {
    conn = conn2;
    logger = new ApplicationLogger("export.log");
    notebooks = new ArrayList<Notebook>();
    tags = new ArrayList<Tag>();
    notes = new ArrayList<Note>();
    for (int i=0; i<guids.size(); i++) {
      notes.add(conn.getNoteTable().getNote(guids.get(i), true, true, true, true, true));
View Full Code Here

  private String newGuid;
  List<Tag> tags;
  public boolean createNewTags;
 
  public ImportEnex(DatabaseConnection c, boolean full) {
    logger = new ApplicationLogger("import.log");
    conn = c;
    tags = conn.getTagTable().getAll();
    createNewTags = true;
  }
View Full Code Here

  }

 
 
  public BrowserWindow(DatabaseConnection c) {
    logger = new ApplicationLogger("browser.log");
    logger.log(logger.HIGH, "Setting up browser");
    iconPath = new String("classpath:cx/fbn/nevernote/icons/");
    forceTextPaste = false;
    insertHyperlink = true;
    insideTable = false;
View Full Code Here

    private HashMap<String,String> badTagSync;
 
   
   
  public SyncRunner(String logname, String u, String i, String r, String uid, String pswd, String cpswd) {
    logger = new ApplicationLogger(logname);
   
    noteSignal = new NoteSignal();
    status = new StatusSignal();
    tagSignal = new TagSignal();
    notebookSignal = new NotebookSignal();
View Full Code Here

 
  //*********************************************
  //* Constructor                               *
  //*********************************************
  public SaveRunner(String logname, String u, String i, String r, String uid, String pswd, String cpswd) {
    logger = new ApplicationLogger(logname);
    conn = new DatabaseConnection(logger, u, i, r, uid, pswd, cpswd, 0);
    threadLock = new QMutex();
    keepRunning = true;
    noteSignals = new NoteSignal();
  }
View Full Code Here

  int uncommittedCount = 0;

 
  public IndexRunner(String logname, String u, String i, String r, String uid, String pswd, String cpswd) {
    foundWords = new TreeSet<String>();
    logger = new ApplicationLogger(logname);
    conn = new DatabaseConnection(logger, u, i, r, uid, pswd, cpswd, 500);
    indexType = SCAN;
    guid = null;
    keepRunning = true;
    doc = new QDomDocument();
View Full Code Here

  public final boolean        importNotebooks = false;
  private final HashMap<String,String>    noteMap;
  private final HashMap<String, NoteMetadata> metaData;
 
  public ImportData(DatabaseConnection c, boolean full) {
    logger = new ApplicationLogger("import.log");
    backup = full;
    conn = c;
    metaData = new HashMap<String,NoteMetadata>();
    noteMap = new HashMap<String,String>();
  }
View Full Code Here

  public QMutex                mutex;



  public ThumbnailRunner(String logname, String u, String i, String r, String uid, String pswd, String cpswd) {
    logger = new ApplicationLogger(logname);
    conn = new DatabaseConnection(logger, u, i, r, uid, pswd, cpswd, 300);
    noteSignal = new NoteSignal();
    guid = null;
    keepRunning = true;
    mutex = new QMutex();
View Full Code Here

TOP

Related Classes of cx.fbn.nevernote.utilities.ApplicationLogger

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.