org.openjena.atlas.web
Class TypedInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.openjena.atlas.web.TypedInputStream
- All Implemented Interfaces:
- Closeable
public class TypedInputStream
- extends FilterInputStream
TypedInputStream
public TypedInputStream(InputStream in)
TypedInputStream
public TypedInputStream(InputStream in,
MediaType mediaType)
TypedInputStream
public TypedInputStream(InputStream in,
String mediaType,
String charset)
getMediaType
public String getMediaType()
getCharset
public String getCharset()
close
public void close()
- Specified by:
close
in interface Closeable
- Overrides:
close
in class FilterInputStream
Licenced under the Apache License, Version 2.0