Class MemoryArchive

java.lang.Object
org.apache.jackrabbit.vault.fs.io.MemoryArchive
All Implemented Interfaces:
Closeable, AutoCloseable, Archive, InputStreamPump.Pump

public class MemoryArchive extends Object implements InputStreamPump.Pump
Implements an InputStreamPump.Pump that extracts the relevant parts from the input stream into memory. The memory archive is initialized via the run(InputStream) being called from InputStreamPump.
  • Constructor Details

    • MemoryArchive

      public MemoryArchive(boolean metaOnly) throws IOException
      Creates new memory archive.
      Parameters:
      metaOnly - if true only the meta info content is cached.
      Throws:
      IOException - if an I/O error occurrs
  • Method Details