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()
LargeFileMultipartSource
getTotalSize
in interface LargeFileMultipartSource
public java.io.InputStream getCompleteDataStream() throws java.io.IOException
LargeFileMultipartSource
getCompleteDataStream
in interface LargeFileMultipartSource
java.io.IOException
public java.io.InputStream getPartDataStream(long offset, long length) throws java.io.IOException
LargeFileMultipartSource
getPartDataStream
in interface LargeFileMultipartSource
java.io.IOException