Packages

 

com.aspose.cad.sources

Class FileCreateSource



  • public final class FileCreateSource
    extends FileSource

    Represents a file source for creation.

    • Constructor Detail

      • FileCreateSource

        public FileCreateSource(String filePath)

        Initializes a new instance of the FileCreateSource class.

        Parameters:
        filePath - The file path to create.
      • FileCreateSource

        public FileCreateSource(String filePath,
                        boolean isTemporal)

        Initializes a new instance of the FileCreateSource class.

        Parameters:
        filePath - The file path to create.
        isTemporal - If set to true the created file will be temporal.
    • Method Detail

      • getFilePath

        public String getFilePath()

        Gets the file path to create.

        Returns:
        The file path to create.
      • isTemporal

        public boolean isTemporal()

        Gets a value indicating whether file will be temporal.

        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.