com.groupdocs.viewer.domain.containers

Class FileContainer

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


    public class FileContainer
    extends Object
    implements com.groupdocs.viewer.common.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

      • dispose

        public void dispose()

        Releases stream

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

        public String getFileName()
      • getStream

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

        public void setFileName(String value)
      • setStream

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