public class LocalFileSystem extends FileSystem
LocalFileSystem
will maps the read/write operations to local directory.Constructor and Description |
---|
LocalFileSystem(java.lang.String directory)
Initialize a new
LocalFileSystem with specified base directory. |
Modifier and Type | Method and 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.
|
close
public LocalFileSystem(java.lang.String directory) throws java.io.FileNotFoundException
LocalFileSystem
with specified base directory.directory
- java.io.FileNotFoundException
public com.aspose.threed.Stream readFile(java.lang.String fileName, IOConfig options) throws java.io.IOException
readFile
in class FileSystem
fileName
- options
- java.io.IOException
public com.aspose.threed.Stream writeFile(java.lang.String fileName, IOConfig options) throws java.io.IOException
writeFile
in class FileSystem
fileName
- options
- java.io.IOException