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