org.openjena.atlas.web
Class TypedStream

java.lang.Object
  extended by org.openjena.atlas.web.TypedStream

public class TypedStream
extends Object


Constructor Summary
TypedStream(InputStream in)
           
TypedStream(InputStream in, ContentType ct)
           
TypedStream(InputStream in, String mediaType, String charset)
           
 
Method Summary
 String getCharset()
           
 String getContentType()
           
 InputStream getInput()
           
 ContentType getMediaType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypedStream

public TypedStream(InputStream in)

TypedStream

public TypedStream(InputStream in,
                   String mediaType,
                   String charset)

TypedStream

public TypedStream(InputStream in,
                   ContentType ct)
Method Detail

getInput

public InputStream getInput()

getContentType

public String getContentType()

getCharset

public String getCharset()

getMediaType

public ContentType getMediaType()


Licenced under the Apache License, Version 2.0