org.openjena.atlas.web
Class TypedInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by org.openjena.atlas.web.TypedInputStream
All Implemented Interfaces:
Closeable

public class TypedInputStream
extends FilterInputStream


Constructor Summary
TypedInputStream(InputStream in)
           
TypedInputStream(InputStream in, MediaType mediaType)
           
TypedInputStream(InputStream in, String mediaType, String charset)
           
 
Method Summary
 String getCharset()
           
 String getMediaType()
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypedInputStream

public TypedInputStream(InputStream in)

TypedInputStream

public TypedInputStream(InputStream in,
                        MediaType mediaType)

TypedInputStream

public TypedInputStream(InputStream in,
                        String mediaType,
                        String charset)
Method Detail

getMediaType

public String getMediaType()

getCharset

public String getCharset()


Licenced under the Apache License, Version 2.0