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.
|
closepublic LocalFileSystem(java.lang.String directory)
throws java.io.FileNotFoundException
LocalFileSystem with specified base directory.directory - java.io.FileNotFoundExceptionpublic com.aspose.threed.Stream readFile(java.lang.String fileName,
IOConfig options)
throws java.io.IOException
readFile in class FileSystemfileName - options - java.io.IOExceptionpublic com.aspose.threed.Stream writeFile(java.lang.String fileName,
IOConfig options)
throws java.io.IOException
writeFile in class FileSystemfileName - options - java.io.IOException