Ejemplo n.º 1
0
 private void writeCategories(QifBufferedWriter qifWriter) throws IOException {
   if (!categories.isEmpty()) {
     qifWriter.writeCategoriesHeader();
     for (Category c : categories) {
       writeCategory(qifWriter, c);
     }
   }
 }
Ejemplo n.º 2
0
 public QifExport(Context context, DatabaseAdapter db, QifExportOptions options) {
   super(context, false);
   this.db = db;
   this.em = db.em();
   this.options = options;
   this.categories = db.getCategoriesTree(false);
   this.categoriesMap = categories.asMap();
   this.accountsMap = db.em().getAllAccountsMap();
 }