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 mediaType,
String charset) |
TypedInputStream(InputStream in,
String mediaType,
String charset,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseURI() |
String |
getCharset() |
String |
getContentType() |
ContentType |
getMediaType() |
String |
getMimeType()
Deprecated.
Use
getContentType() |
available, close, mark, markSupported, read, read, read, reset, skip
public TypedInputStream(InputStream in)
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)
@Deprecated public String getMimeType()
getContentType()
public String getContentType()
public String getCharset()
public ContentType getMediaType()
public String getBaseURI()
Licenced under the Apache License, Version 2.0