public class TypedInputStream extends FilterInputStream
Constructor and Description |
---|
TypedInputStream(InputStream in) |
TypedInputStream(InputStream in,
ContentType ct) |
TypedInputStream(InputStream in,
ContentType ct,
String baseURI) |
TypedInputStream(InputStream in,
String contentType) |
TypedInputStream(InputStream in,
String mediaType,
String charset) |
TypedInputStream(InputStream in,
String mediaType,
String charset,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getBaseURI() |
String |
getCharset() |
String |
getContentType() |
ContentType |
getMediaType() |
available, mark, markSupported, read, read, read, reset, skip
public TypedInputStream(InputStream in)
public TypedInputStream(InputStream in, String contentType)
public TypedInputStream(InputStream in, String mediaType, String charset)
public TypedInputStream(InputStream in, String mediaType, String charset, String baseURI)
public TypedInputStream(InputStream in, ContentType ct)
public TypedInputStream(InputStream in, ContentType ct, String baseURI)
public String getContentType()
public String getCharset()
public ContentType getMediaType()
public String getBaseURI()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
Licenced under the Apache License, Version 2.0