Package net.sf.joafip.store.service.export_import.out

Examples of net.sf.joafip.store.service.export_import.out.XmlExporter


      StoreClassNotFoundException, StoreInvalidClassException,
      StoreDataCorruptedException, StoreNotSerializableException {
    if (stackSize(0) > 500) {
      smallStackTestExportObject();
    } else {
      final XmlExporter xmlExporter = new XmlExporter(store);
      final BobForExport bobForExport = new BobForExport();
      final List<Integer> list = new LinkedList<Integer>();
      for (int value = 0; value < 1000; value++) {
        list.add(value);
      }
      bobForExport.setObject(list);
      xmlExporter.export(RUNTIME, RUNTIME + "/tmp", bobForExport);
    }
  }
View Full Code Here


    }
    storeSaver = new StoreSaver3(this);
    storeGarbager = new StoreGarbager(this);
    storeGarbager.setStoreSaver(storeSaver);

    xmlExporter = new XmlExporter(this);
    try {
      xmlImporter = new XmlImporter(this);
    } catch (final ImportException exception) {
      throw new StoreException(exception);
    }
View Full Code Here

      throw new StoreDataCorruptedException(FOR
          + objectToVisit.toString(), exception);
    } catch (final ObjectIOTooBigForSerializationException exception) {
      final Object object = exception.getObject();
      final String directoryName = JoafipLogger.getLogDirectory();
      final XmlExporter exporter = new XmlExporter(store);
      exporter.export(directoryName, directoryName + File.separator
          + "tmp", object);
      final String filePath = directoryName + File.separator
          + "export.xml";
      throw new StoreTooBigForSerializationException(FOR
          + objectToVisit.toString() + ". object exported in "
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.service.export_import.out.XmlExporter

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.