Packages

 

com.aspose.cad.sources

Class FileOpenSource



  • public final class FileOpenSource
    extends FileSource

    Represents a file source for opening.

    • Constructor Detail

      • FileOpenSource

        public FileOpenSource(String filePath)

        Initializes a new instance of the FileOpenSource class.

        Parameters:
        filePath - The file path to open.
    • Method Detail

      • getFilePath

        public String getFilePath()

        Gets the file path to open.

        Value: The file path to open.
      • isTemporal

        public boolean isTemporal()

        Gets a value indicating whether file will be temporal.

        Value: true if file will be temporal; otherwise, false.
        Specified by:
        isTemporal in class FileSource
        Returns:
        true if file will be temporal; otherwise, false.
      • getStreamContainer

        public StreamContainer getStreamContainer()

        Gets the stream container.

        Specified by:
        getStreamContainer in class Source
        Returns:
        the stream container.

        Use with caution. You will need to dispose the stream container after retrieval.