public class TypedInputStream extends FilterInputStream
| Constructor and Description |
|---|
TypedInputStream(InputStream in,
ContentType ct) |
TypedInputStream(InputStream in,
ContentType ct,
String baseURI) |
TypedInputStream(InputStream in,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getBaseURI() |
String |
getCharset() |
String |
getContentType() |
InputStream |
getInputStream() |
ContentType |
getMediaType() |
static TypedInputStream |
wrap(InputStream in) |
available, mark, markSupported, read, read, read, reset, skippublic TypedInputStream(InputStream in, String contentType)
public TypedInputStream(InputStream in, ContentType ct)
public TypedInputStream(InputStream in, ContentType ct, String baseURI)
public static TypedInputStream wrap(InputStream in)
public String getContentType()
public String getCharset()
public ContentType getMediaType()
public String getBaseURI()
public InputStream getInputStream()
public void close()
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamLicenced under the Apache License, Version 2.0