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, skippublic 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 Closeableclose in interface AutoCloseableclose in class FilterInputStreamLicenced under the Apache License, Version 2.0