Package com.aspose.threed
Class LocalFileSystem
- java.lang.Object
-
- com.aspose.threed.FileSystem
-
- com.aspose.threed.LocalFileSystem
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class LocalFileSystem extends FileSystem
TheLocalFileSystem
will maps the read/write operations to local directory.
-
-
Constructor Summary
Constructors Constructor Description LocalFileSystem(java.lang.String directory)
Initialize a newLocalFileSystem
with specified base directory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.aspose.threed.Stream
readFile(java.lang.String fileName, IOConfig options)
Create a stream for reading dependencies.com.aspose.threed.Stream
writeFile(java.lang.String fileName, IOConfig options)
Create a stream for writing dependencies.-
Methods inherited from class com.aspose.threed.FileSystem
close
-
-
-
-
Constructor Detail
-
LocalFileSystem
public LocalFileSystem(java.lang.String directory) throws java.io.FileNotFoundException
Initialize a newLocalFileSystem
with specified base directory.- Parameters:
directory
-- Throws:
java.io.FileNotFoundException
-
-
Method Detail
-
readFile
public com.aspose.threed.Stream readFile(java.lang.String fileName, IOConfig options) throws java.io.IOException
Create a stream for reading dependencies.- Specified by:
readFile
in classFileSystem
- Parameters:
fileName
-options
-- Throws:
java.io.IOException
-
writeFile
public com.aspose.threed.Stream writeFile(java.lang.String fileName, IOConfig options) throws java.io.IOException
Create a stream for writing dependencies.- Specified by:
writeFile
in classFileSystem
- Parameters:
fileName
-options
-- Throws:
java.io.IOException
-
-