Class FileSystem

  • java.lang.Object
    • com.aspose.threed.FileSystem
  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    DummyFileSystem, LocalFileSystem, MemoryFileSystem, ZipArchiveFileSystem

    public abstract class FileSystem
    extends java.lang.Object
    implements java.io.Closeable
    File system encapsulation. Aspose.3D will use this to read/write dependencies.
    • Constructor Summary

      Constructors 
      Constructor Description
      FileSystem()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Dispose the File system and release its resources.
      abstract com.aspose.threed.Stream readFile​(java.lang.String fileName, IOConfig options)
      Create a stream for reading dependencies.
      abstract com.aspose.threed.Stream writeFile​(java.lang.String fileName, IOConfig options)
      Create a stream for writing dependencies.
      • Methods inherited from class java.lang.Object

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

      • FileSystem

        public FileSystem()
    • Method Detail

      • readFile

        public abstract com.aspose.threed.Stream readFile​(java.lang.String fileName,
                                                                    IOConfig options)
                                                             throws java.io.IOException
        Create a stream for reading dependencies.
        Parameters:
        fileName -
        options -
        Throws:
        java.io.IOException
      • writeFile

        public abstract com.aspose.threed.Stream writeFile​(java.lang.String fileName,
                                                                     IOConfig options)
                                                              throws java.io.IOException
        Create a stream for writing dependencies.
        Parameters:
        fileName -
        options -
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Dispose the File system and release its resources.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException