Ocket.Empty, Ocket.Text
Constructor and Description |
---|
Ocket.Empty() |
Modifier and Type | Method and Description |
---|---|
Bucket |
bucket()
Get bucket we're in.
|
int |
compareTo(Ocket ocket) |
boolean |
exists()
Check whether this S3 object exists.
|
String |
key()
Get object key.
|
com.amazonaws.services.s3.model.ObjectMetadata |
meta()
Object metadata.
|
void |
read(OutputStream output)
Read content.
|
void |
write(InputStream input,
com.amazonaws.services.s3.model.ObjectMetadata meta)
Write new content to the object.
|
public com.amazonaws.services.s3.model.ObjectMetadata meta()
Ocket
Throws OcketNotFoundException
if this object
doesn't exist in S3 bucket.
public boolean exists()
Ocket
public void read(OutputStream output)
Ocket
Throws OcketNotFoundException
if this object
doesn't exist in S3 bucket.
public void write(InputStream input, com.amazonaws.services.s3.model.ObjectMetadata meta)
Ocket
public int compareTo(Ocket ocket)
compareTo
in interface Comparable<Ocket>
Copyright © 2012–2017 jcabi.com. All rights reserved.