com.aspose.html.net

Class StreamContent

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable


    public class StreamContent
    extends Content

    Represents content based on a stream.

    • Constructor Detail

      • StreamContent

        public StreamContent(com.aspose.ms.System.IO.Stream content)

        Initializes a new instance of the StreamContent class.

        Parameters:
        content - The content.
    • Method Detail

      • serializeToStream

        protected void serializeToStream(com.aspose.ms.System.IO.Stream stream)

        Serializes to stream.

        Specified by:
        serializeToStream in class Content
        Parameters:
        stream - The stream.
      • dispose

        protected void dispose(boolean disposing)

        Releases unmanaged and - optionally - managed resources.

        Overrides:
        dispose in class Content
        Parameters:
        disposing - true to release both managed and unmanaged resources; false to release only unmanaged resources.