public class TypedOutputStream extends FilterOutputStream
| Constructor and Description |
|---|
TypedOutputStream(OutputStream out) |
TypedOutputStream(OutputStream out,
MediaType mediaType) |
TypedOutputStream(OutputStream out,
String mediaType,
String charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getCharset() |
String |
getMediaType() |
flush, write, write, writepublic TypedOutputStream(OutputStream out)
public TypedOutputStream(OutputStream out, MediaType mediaType)
public TypedOutputStream(OutputStream out, String mediaType, String charset)
public String getMediaType()
public String getCharset()
public void close()
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamLicenced under the Apache License, Version 2.0