Package cz.o2.proxima.direct.io.s3
Class S3BlobPath
- java.lang.Object
-
- cz.o2.proxima.direct.io.blob.BlobPath<S3BlobPath.S3Blob>
-
- cz.o2.proxima.direct.io.s3.S3BlobPath
-
@Internal public class S3BlobPath extends BlobPath<S3BlobPath.S3Blob> implements Path
APath
representation of a remote blob in S3.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
S3BlobPath.S3Blob
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
Delete thisPath
.static S3BlobPath
of(Context context, S3FileSystem fs, java.lang.String name)
static S3BlobPath
of(Context context, S3FileSystem fs, java.lang.String name, long size)
java.nio.channels.ReadableByteChannel
read()
Open readable byte channel from a given Path.java.io.InputStream
reader()
Open input stream from given Path.java.io.OutputStream
writer()
Open output stream to the Path.-
Methods inherited from class cz.o2.proxima.direct.io.blob.BlobPath
compareTo, equals, getBlob, getBlobName, getFileSystem, hashCode, normalizePath, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cz.o2.proxima.direct.io.bulkfs.Path
getFileSystem, write
-
-
-
-
Method Detail
-
of
public static S3BlobPath of(Context context, S3FileSystem fs, java.lang.String name)
-
of
public static S3BlobPath of(Context context, S3FileSystem fs, java.lang.String name, long size)
-
read
public java.nio.channels.ReadableByteChannel read()
Description copied from interface:Path
Open readable byte channel from a given Path.
-
reader
public java.io.InputStream reader()
Description copied from interface:Path
Open input stream from given Path.
-
writer
public java.io.OutputStream writer()
Description copied from interface:Path
Open output stream to the Path.
-
-