com.groupdocs.viewer.domain.containers

Class FileContainer

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


    public class FileContainer
    extends Object
    implements com.aspose.ms.System.IDisposable

    Represents a container for file stream content.

    • Constructor Detail

      • FileContainer

        public FileContainer()

        Initializes a new instance of the FileContainer class.

      • FileContainer

        public FileContainer(InputStream stream)

        Initializes a new instance of the FileContainer class.

        Parameters:
        stream - The stream.
    • Method Detail

      • getStream

        public InputStream getStream()
        Gets stream.
        Returns:
        the stream
      • setStreamInternal

        public void setStreamInternal(com.aspose.ms.System.IO.Stream value)
        Sets stream internal.
        Parameters:
        value - the value
      • setStream

        public void setStream(InputStream value)
        Sets stream.
        Parameters:
        value - the value
      • dispose

        public void dispose()

        Releases resources

        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable