public class LocalFileSystem extends FileSystem
LocalFileSystem
will maps the read/write operations to local directory.Constructor and Description |
---|
LocalFileSystem(String directory)
Initialize a new
LocalFileSystem with specified base directory. |
Modifier and Type | Method and Description |
---|---|
com.aspose.threed.Stream |
readFile(String fileName,
IOConfig options)
Create a stream for reading dependencies.
|
com.aspose.threed.Stream |
writeFile(String fileName,
IOConfig options)
Create a stream for writing dependencies.
|
public LocalFileSystem(String directory) throws FileNotFoundException
LocalFileSystem
with specified base directory.directory
- FileNotFoundException
public com.aspose.threed.Stream readFile(String fileName, IOConfig options) throws IOException
readFile
in class FileSystem
fileName
- options
- IOException
public com.aspose.threed.Stream writeFile(String fileName, IOConfig options) throws IOException
writeFile
in class FileSystem
fileName
- options
- IOException
Copyright © 2018. All rights reserved.