Examples of InputStreamAndSource


Examples of net.sf.joafip.store.service.conversion.def.InputStreamAndSource

    final InputStream inputStream = Thread
        .currentThread()
        .getContextClassLoader()
        .getResourceAsStream(
            "net/sf/joafip/entity/rel310/conversion_b.def");
    final InputStreamAndSource inputStreamAndSource = new InputStreamAndSource(
        inputStream, "net/sf/joafip/entity/rel310/conversion_b.def");
    // filePersistence = new FilePersistence(2, inputStreamAnsSource, path,
    // /**/true/* remove files */,
    // /**/false/* do not manage garbage */);
    final FilePersistenceBuilder builder = new FilePersistenceBuilder();
View Full Code Here

Examples of net.sf.joafip.store.service.conversion.def.InputStreamAndSource

    final InputStream inputStream = Thread
        .currentThread()
        .getContextClassLoader()
        .getResourceAsStream(
            "net/sf/joafip/entity/rel310/conversion_a.def");
    final InputStreamAndSource inputStreamAndSource = new InputStreamAndSource(
        inputStream, "net/sf/joafip/entity/rel310/conversion_a.def");
    // filePersistence = new FilePersistence(2, inputStreamAndSource, path,
    // /**/false,/* no proxy */
    // /**/false/* remove files */,
    // /**/false/* do not manage garbage */);
 
View Full Code Here

Examples of net.sf.joafip.store.service.conversion.def.InputStreamAndSource

    final InputStream inputStream = Thread
        .currentThread()
        .getContextClassLoader()
        .getResourceAsStream(
            "net/sf/joafip/entity/rel310/conversion_b.def");
    final InputStreamAndSource inputStreamAndSource = new InputStreamAndSource(
        inputStream, "net/sf/joafip/entity/rel310/conversion_b.def");
    // filePersistence = new FilePersistence(2, inputStreamAndSource, path,
    // /**/false/* remove files */,
    // /**/false/* do not manage garbage */);
    final FilePersistenceBuilder builder = new FilePersistenceBuilder();
View Full Code Here

Examples of net.sf.joafip.store.service.conversion.def.InputStreamAndSource

    final InputStream inputStream = ClassLoader.getSystemClassLoader()
        .getResourceAsStream(
            "net/sf/joafip/export_import/conversion_import222.def");
    assertNotNull("conversion definition input stream must be defined",
        inputStream);
    final InputStreamAndSource inputStreamAndSource = new InputStreamAndSource(
        inputStream,
        "net/sf/joafip/export_import/conversion_import222.def");
    filePersistence = createFilePersistence(inputStreamAndSource);
    final IDataAccessSession dataAccessSession = filePersistence
        .createDataAccessSession();
View Full Code Here

Examples of net.sf.joafip.store.service.conversion.def.InputStreamAndSource

        } else if (JOAFIP_DATA_MODEL_CONVERSION_DEF_FILE.equals(key)) {
          final URL conversionDefUrl = classLoaderProvider
              .getResource(value);
          final InputStream conversionDefInputStream = conversionDefUrl
              .openStream();
          final InputStreamAndSource fileInputStreamAndSource =
          /**/new InputStreamAndSource(conversionDefInputStream,// NOPMD
              value);
          filePersistenceProperties
              .setDataModelConversionDefInputStream(fileInputStreamAndSource);
        } else if (JOAFIP_GARBAGE_MANAGEMENT.equals(key)) {
          filePersistenceProperties.setGarbageManagement(isEnabled(
View Full Code Here

Examples of net.sf.joafip.store.service.conversion.def.InputStreamAndSource

    super(storeProperties);
    this.garbageManagement = storeProperties.isGarbageManagement();
    this.proxyMode = storeProperties.isProxyMode();
    final int currentDataModelIdentifier = storeProperties
        .getDataModelIdentifier();
    final InputStreamAndSource dataModelConversionDefInputStream = storeProperties
        .getDataModelConversionDefInputStream();
    initialize(currentDataModelIdentifier,
        dataModelConversionDefInputStream);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.