public interface PartSource
Modifier and Type | Method and Description |
---|---|
InputStream |
createInputStream()
Gets a new InputStream for reading this source.
|
String |
getFileName()
Gets the name of the file this source represents.
|
long |
getLength()
Gets the number of bytes contained in this source.
|
long getLength()
String getFileName()
InputStream createInputStream() throws IOException
IOException
- if an error occurs when creating the InputStreamCopyright © 2014. All Rights Reserved.