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