Packages

 

com.aspose.cad

Class DataStreamSupporter

    • Constructor Detail

      • DataStreamSupporter

        public DataStreamSupporter()
    • Method Detail

      • getDataStreamContainer

        public StreamContainer getDataStreamContainer()

        Gets the object's data stream.

        Returns:
        The object's data stream.
      • setDataStreamContainer

        public void setDataStreamContainer(StreamContainer value)

        Gets the object's data stream.

        Parameters:
        valueThe - object's data stream.
      • isCached

        public abstract boolean isCached()

        Gets a value indicating whether object's data is cached currently and no data readig is required.

        Returns:
        true if object's data is cached; otherwise, false.
      • cacheData

        public abstract void cacheData()

        Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.DataStreamContainer.

      • save

        public void save()

        Saves the object's data to the current DataStreamSupporter.

      • save

        public void save(OutputStream stream)

        Saves the object's data to the specified stream.

        Parameters:
        stream - The stream to save the object's data to.
      • save_internalized

        public void save_internalized(com.aspose.ms.System.IO.Stream stream)
      • save

        public void save(String filePath)

        Saves the object's data to the specified file location.

        Parameters:
        filePath - The file path to save the object's data to.
      • save

        public void save(String filePath,
                boolean overWrite)

        Saves the object's data to the specified file location.

        Parameters:
        filePath - The file path to save the object's data to.
        overWrite - if set to true over write the file contents, otherwise append will occur.