com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class ZipArchiveFileSystem

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable


    public class ZipArchiveFileSystem
    extends FileSystem
    File system to provide to the read-only access to speicified zip file or zip stream. File system will be disposed after the open/save operation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close()
      Dispose the ZipArchiveFileSystem and release its internal resources.
      com.aspose.threed.Stream readFile(java.lang.String fileName, IOConfig options)
      Open file for reading
      com.aspose.threed.Stream writeFile(java.lang.String fileName, IOConfig options)
      Open file for writing, not implemented in this class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ZipArchiveFileSystem

        public ZipArchiveFileSystem(com.aspose.threed.Stream stream,
                                    java.lang.String baseDir)
                             throws java.io.IOException
        Construct a ZipArchiveFileSystem through a stream.
        Parameters:
        stream -
        baseDir -
        Throws:
        java.io.IOException
      • ZipArchiveFileSystem

        public ZipArchiveFileSystem(com.aspose.threed.Stream stream)
                             throws java.io.IOException
        Construct a ZipArchiveFileSystem through a stream.
        Parameters:
        stream -
        Throws:
        java.io.IOException
      • ZipArchiveFileSystem

        public ZipArchiveFileSystem(java.lang.String fileName)
                             throws java.io.IOException
        Construct a ZipArchiveFileSystem through a file name.
        Parameters:
        fileName -
        Throws:
        java.io.IOException
    • Method Detail

      • readFile

        public com.aspose.threed.Stream readFile(java.lang.String fileName,
                                                           IOConfig options)
                                                    throws java.io.IOException
        Open file for reading
        Specified by:
        readFile in class FileSystem
        Parameters:
        fileName -
        options -
        Throws:
        java.io.IOException
      • writeFile

        public com.aspose.threed.Stream writeFile(java.lang.String fileName,
                                                            IOConfig options)
        Open file for writing, not implemented in this class.
        Specified by:
        writeFile in class FileSystem
        Parameters:
        fileName -
        options -
      • close

        public void close()
                   throws java.io.IOException
        Dispose the ZipArchiveFileSystem and release its internal resources.
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface java.lang.AutoCloseable
        Overrides:
        close in class FileSystem
        Throws:
        java.io.IOException