Package com.jcabi.s3
Class Ocket.Empty
- java.lang.Object
-
- com.jcabi.s3.Ocket.Empty
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jcabi.s3.Ocket
Ocket.Empty, Ocket.Text
-
-
Constructor Summary
Constructors Constructor Description Empty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bucketbucket()Get bucket we're in.intcompareTo(Ocket ocket)booleanexists()Check whether this S3 object exists.Stringkey()Get object key.com.amazonaws.services.s3.model.ObjectMetadatameta()Object metadata.voidread(OutputStream output)Read content.voidwrite(InputStream input, com.amazonaws.services.s3.model.ObjectMetadata meta)Write new content to the object.
-
-
-
Method Detail
-
meta
public com.amazonaws.services.s3.model.ObjectMetadata meta()
Description copied from interface:OcketObject metadata.Throws
OcketNotFoundExceptionif this object doesn't exist in S3 bucket.
-
exists
public boolean exists()
Description copied from interface:OcketCheck whether this S3 object exists.
-
read
public void read(OutputStream output)
Description copied from interface:OcketRead content.Throws
OcketNotFoundExceptionif this object doesn't exist in S3 bucket.
-
write
public void write(InputStream input, com.amazonaws.services.s3.model.ObjectMetadata meta)
Description copied from interface:OcketWrite new content to the object.
-
compareTo
public int compareTo(Ocket ocket)
- Specified by:
compareToin interfaceComparable<Ocket>
-
-