@NotThreadSafe public class SwiftInputStream extends MultiRangeObjectInputStream
mClosed, mEndPos, mPos, mStream| Constructor and Description |
|---|
SwiftInputStream(org.javaswift.joss.model.Account account,
String container,
String object,
long multiRangeChunkSize)
Constructor for an input stream to an object in a Swift API based store.
|
SwiftInputStream(org.javaswift.joss.model.Account account,
String container,
String object,
long position,
long multiRangeChunkSize)
Constructor for an input stream to an object in a Swift API based store.
|
| Modifier and Type | Method and Description |
|---|---|
protected InputStream |
createStream(long startPos,
long endPos) |
close, read, read, read, skipavailable, mark, markSupported, resetpublic SwiftInputStream(org.javaswift.joss.model.Account account,
String container,
String object,
long multiRangeChunkSize)
account - JOSS account with authentication credentialscontainer - the name of container where the object residesobject - path of the object in the containermultiRangeChunkSize - the chunk size to use on this streampublic SwiftInputStream(org.javaswift.joss.model.Account account,
String container,
String object,
long position,
long multiRangeChunkSize)
account - JOSS account with authentication credentialscontainer - the name of container where the object residesobject - path of the object in the containerposition - the position to begin reading frommultiRangeChunkSize - the chunk size to use on this streamprotected InputStream createStream(long startPos, long endPos) throws IOException
createStream in class MultiRangeObjectInputStreamIOExceptionCopyright © 2019. All Rights Reserved.