public class LargeFileMultipartFileSource extends java.lang.Object implements LargeFileMultipartSource
| Constructor and Description |
|---|
LargeFileMultipartFileSource(java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getCompleteDataStream()
Returns a stream that will provide all the object's data
|
java.io.InputStream |
getPartDataStream(long offset,
long length)
Returns an _independent_ stream that provides only the specified range within the object data.
|
long |
getTotalSize()
Returns the total size of the object data
|
public LargeFileMultipartFileSource(java.io.File file)
public long getTotalSize()
LargeFileMultipartSourcegetTotalSize in interface LargeFileMultipartSourcepublic java.io.InputStream getCompleteDataStream()
throws java.io.IOException
LargeFileMultipartSourcegetCompleteDataStream in interface LargeFileMultipartSourcejava.io.IOExceptionpublic java.io.InputStream getPartDataStream(long offset,
long length)
throws java.io.IOException
LargeFileMultipartSourcegetPartDataStream in interface LargeFileMultipartSourcejava.io.IOException