public interface MutableContentStream extends ContentStream
Modifier and Type | Method and Description |
---|---|
void |
setFileName(String filename)
Sets the file name.
|
void |
setLength(BigInteger length)
Sets the length of the stream.
|
void |
setMimeType(String mimeType)
Sets the MIME type of the stream.
|
void |
setStream(InputStream stream)
Sets the stream.
|
getBigLength, getFileName, getLength, getMimeType, getStream
getExtensions, setExtensions
void setFileName(String filename)
filename
- the file namevoid setLength(BigInteger length)
length
- the length of the stream in bytes or null
if the
length is unknownvoid setMimeType(String mimeType)
mimeType
- the MIME typevoid setStream(InputStream stream)
stream
- the streamCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.