Class StreamSourceInfo

  • All Implemented Interfaces:
    SourceInfo

    public class StreamSourceInfo
    extends Object
    • Constructor Detail

      • StreamSourceInfo

        public StreamSourceInfo​(InputStream stream)
      • StreamSourceInfo

        public StreamSourceInfo​(InputStream stream,
                                boolean leaveOpen)
      • StreamSourceInfo

        public StreamSourceInfo​(InputStream stream,
                                boolean leaveOpen,
                                UUID sourceId)
    • Method Detail

      • setStream

        public void setStream​(InputStream stream)
      • isLeaveOpen

        public boolean isLeaveOpen()
      • setLeaveOpen

        public void setLeaveOpen​(boolean leaveOpen)
        Weather or not the stream will close after reading from it.
        Parameters:
        leaveOpen - leave the stream open after processing
      • setCompressionType

        public void setCompressionType​(CompressionType compressionType)
      • validate

        public void validate()
        Description copied from interface: SourceInfo
        Checks that this SourceInfo is defined appropriately.