ByteArrayPartSource
, FilePartSource
public interface PartSource
FilePart
Modifier and Type | Method | 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 (c) 1999-2005 - Apache Software Foundation