com.aspose.html.io

Interface ICreateStreamProvider

  • All Superinterfaces:
    com.aspose.ms.System.IDisposable
    All Known Implementing Classes:
    FileCreateStreamProvider


    public interface ICreateStreamProvider
    extends com.aspose.ms.System.IDisposable

    Represents an interface that can be implemented by classes providing streams to the rendering devices.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      com.aspose.ms.System.IO.Stream getStream(String name, String extension)
      Provides a stream for rendering.
      com.aspose.ms.System.IO.Stream getStream(String name, String extension, int page)
      Provides a stream for rendering.
      void releaseStream(com.aspose.ms.System.IO.Stream stream)
      Releases the stream.
      • Methods inherited from interface com.aspose.ms.System.IDisposable

        dispose
    • Method Detail

      • getStream

        com.aspose.ms.System.IO.Stream getStream(String name,
                                                 String extension)

        Provides a stream for rendering.

        Parameters:
        name - The name of the stream.
        extension - The file name extension to use if a file stream is being created.
        Returns:
        A Stream object that is used for writing data during the rendering operations.
      • getStream

        com.aspose.ms.System.IO.Stream getStream(String name,
                                                 String extension,
                                                 int page)

        Provides a stream for rendering.

        Parameters:
        name - The name of the stream.
        extension - The file name extension to use if a file stream is being created.
        page - The page number of the document.
        Returns:
        A Stream object that is used for writing data during the rendering operations.
      • releaseStream

        void releaseStream(com.aspose.ms.System.IO.Stream stream)

        Releases the stream.

        Parameters:
        stream - The stream being released.