public final class IdentityContentEncoding extends Object implements ContentEncoding
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the internal ID of the
IdentityContentEncoding . |
static IdentityContentEncoding |
getInstance()
Returns an instance of
IdentityContentEncoding . |
InputStream |
open(InputStream original)
Returns the
original InputStream . |
OutputStream |
open(OutputStream original)
Returns the
original OutputStream . |
public String getId()
IdentityContentEncoding
.getId
in interface ContentEncoding
public static IdentityContentEncoding getInstance()
IdentityContentEncoding
.IdentityContentEncoding
.public InputStream open(InputStream original)
original
InputStream
.open
in interface ContentEncoding
original
- the InputStream
to return.original
InputStream
.public OutputStream open(OutputStream original)
original
OutputStream
.open
in interface ContentEncoding
original
- the OutputStream
to return.original
OutputStream
.