Class TypedInputStream

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

    public class TypedInputStream
    extends java.io.FilterInputStream
    • Constructor Detail

      • TypedInputStream

        public TypedInputStream​(java.io.InputStream in,
                                java.lang.String contentType)
      • TypedInputStream

        public TypedInputStream​(java.io.InputStream in,
                                ContentType ct)
      • TypedInputStream

        public TypedInputStream​(java.io.InputStream in,
                                ContentType ct,
                                java.lang.String baseURI)
    • Method Detail

      • getContentType

        public java.lang.String getContentType()
      • getCharset

        public java.lang.String getCharset()
      • getBaseURI

        public java.lang.String getBaseURI()
      • getInputStream

        public java.io.InputStream getInputStream()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.FilterInputStream
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object