public class IOConfig
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.nio.charset.Charset |
getEncoding()
Gets the default encoding for text-based files.
|
FileFormat |
getFileFormat()
Gets the file format that specified in current Save/Load option.
|
java.lang.String |
getFileName()
The file name of the exporting/importing scene.
|
FileSystem |
getFileSystem()
Allow user to handle how to manage the external dependencies during load/save.
|
static FileSystemFactory |
getFileSystemFactory()
Gets the factory class for FileSystem.
|
java.util.ArrayList<java.lang.String> |
getLookupPaths()
Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
|
protected java.lang.String |
lookupForFile(java.lang.String fileName,
java.lang.String alternativeFile)
Look up for file in given lookup paths
User can override this to provide more customized file lookup mechanisms.
|
void |
setEncoding(java.nio.charset.Charset value)
Sets the default encoding for text-based files.
|
void |
setFileName(java.lang.String value)
The file name of the exporting/importing scene.
|
void |
setFileSystem(FileSystem value)
Allow user to handle how to manage the external dependencies during load/save.
|
static void |
setFileSystemFactory(FileSystemFactory value)
Sets the factory class for FileSystem.
|
void |
setLookupPaths(java.util.ArrayList<java.lang.String> value)
Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
|
public static FileSystemFactory getFileSystemFactory()
LocalFileSystem
which is not suitable for server environment.public static void setFileSystemFactory(FileSystemFactory value)
LocalFileSystem
which is not suitable for server environment.value
- New valuepublic FileFormat getFileFormat()
public java.nio.charset.Charset getEncoding()
public void setEncoding(java.nio.charset.Charset value)
value
- New valuepublic FileSystem getFileSystem()
public void setFileSystem(FileSystem value)
value
- New valuepublic java.util.ArrayList<java.lang.String> getLookupPaths()
public void setLookupPaths(java.util.ArrayList<java.lang.String> value)
value
- New valuepublic java.lang.String getFileName()
public void setFileName(java.lang.String value)
value
- New valueprotected java.lang.String lookupForFile(java.lang.String fileName, java.lang.String alternativeFile)
fileName
- File name to look upalternativeFile
- If the file cannot be found, return this