Package com.aspose.threed
Class LocalFileSystem
- java.lang.Object
-
- com.aspose.threed.FileSystem
-
- com.aspose.threed.LocalFileSystem
-
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
Modifier and Type Method Description com.aspose.csporter.helpers.Stream
readFile(java.lang.String fileName, IOConfig options)
Create a stream for reading dependencies.com.aspose.csporter.helpers.Stream
writeFile(java.lang.String fileName, IOConfig options)
Create a stream for writing dependencies.
-
-
-
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.csporter.helpers.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.csporter.helpers.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
-
-