Class FileArchiveReader

java.lang.Object
org.eclipse.birt.core.archive.compound.ArchiveReader
org.eclipse.birt.core.archive.FileArchiveReader
All Implemented Interfaces:
IDocArchiveReader

public class FileArchiveReader extends ArchiveReader
file based archive reader. It reads multiple streams from a single physical file. the file is created by FileArchiveWriter.
  • Constructor Details

    • FileArchiveReader

      public FileArchiveReader(String fileName) throws IOException
      Parameters:
      fileName - - the absolute name of the file archive
      Throws:
      IOException
  • Method Details

    • expandFileArchive

      public void expandFileArchive(String folderArchiveName) throws IOException
      Explode the existing compound file archive to a folder that contains corresponding files in it. NOTE: The original file archive will NOT be deleted. However, if the specified folder archive exists already, its old content will be totally erased first.
      Parameters:
      folderArchiveName - - the name of the folder archive.
      Throws:
      IOException