public class TypedInputStream extends FilterInputStream
| Constructor and Description |
|---|
TypedInputStream(InputStream in) |
TypedInputStream(InputStream in,
MediaType mediaType) |
TypedInputStream(InputStream in,
String mediaType,
String charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getCharset() |
String |
getMediaType() |
available, mark, markSupported, read, read, read, reset, skippublic TypedInputStream(InputStream in)
public TypedInputStream(InputStream in, MediaType mediaType)
public TypedInputStream(InputStream in, String mediaType, String charset)
public String getMediaType()
public String getCharset()
public void close()
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamLicenced under the Apache License, Version 2.0