Class TitledByteArrayInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class TitledByteArrayInputStream
    extends java.io.ByteArrayInputStream
    • Field Summary

      • Fields inherited from class java.io.ByteArrayInputStream

        buf, count, mark, pos
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getTitle()  
      byte[] getTitleAsBytes()  
      java.io.Reader getTitleAsReader()  
      • Methods inherited from class java.io.ByteArrayInputStream

        available, close, mark, markSupported, read, read, readAllBytes, readNBytes, reset, skip, transferTo
      • Methods inherited from class java.io.InputStream

        nullInputStream, read, readNBytes
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TitledByteArrayInputStream

        public TitledByteArrayInputStream​(java.lang.String title,
                                          byte[] buf,
                                          int offset,
                                          int length)
      • TitledByteArrayInputStream

        public TitledByteArrayInputStream​(java.lang.String title,
                                          byte[] buf)
    • Method Detail

      • getTitle

        public java.lang.String getTitle()
      • getTitleAsBytes

        public byte[] getTitleAsBytes()
      • getTitleAsReader

        public java.io.Reader getTitleAsReader()