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, skip
public 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 Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
Licenced under the Apache License, Version 2.0