public interface ContentStream extends ExtensionsData
Modifier and Type | Method and Description |
---|---|
BigInteger |
getBigLength()
Returns the length of the stream.
|
String |
getFileName()
Returns the file name of the stream.
|
long |
getLength()
Returns the length of the stream.
|
String |
getMimeType()
Returns the MIME type of the stream.
|
InputStream |
getStream()
Returns the stream.
|
getExtensions, setExtensions
long getLength()
BigInteger getBigLength()
null
if the length
is unknownString getMimeType()
null
if the MIME type is
unknownString getFileName()
null
if the file name is
unknownInputStream getStream()
It is important to close this stream properly!
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.