Packages

 

com.aspose.imaging

Interfaces

Classes

com.aspose.imaging

Class DataStreamSupporter

    • Method Detail

      • getDataStreamContainer

        public StreamContainer getDataStreamContainer()

        Gets the object's data stream.

        Returns:
        The 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

        public void save(RandomAccessFile file)

        Saves the object's data to the specified stream.

        Parameters:
        file - The stream to save the object's data to.
      • 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.