com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class IOConfig

  • java.lang.Object
    • com.aspose.threed.IOConfig
  • Direct Known Subclasses:
    LoadOptions, SaveOptions


    public class IOConfig
    extends java.lang.Object
    IO config for serialization/deserialization. User can specify detailed configurations like dependency look-up path Or format-related configs here
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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.
      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 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.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFileSystem

        public FileSystem getFileSystem()
        Allow user to handle how to manage the external dependencies during load/save.
      • setFileSystem

        public void setFileSystem(FileSystem value)
        Allow user to handle how to manage the external dependencies during load/save.
        Parameters:
        value - New value
      • getLookupPaths

        public 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.
      • setLookupPaths

        public 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.
        Parameters:
        value - New value
      • getFileName

        public java.lang.String getFileName()
        The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ's material.
      • setFileName

        public void setFileName(java.lang.String value)
        The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ's material.
        Parameters:
        value - New value
      • lookupForFile

        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.
        Parameters:
        fileName - File name to look up
        alternativeFile - If the file cannot be found, return this
        Returns:
        The for file.