@Immutable @Loggable(value=1) public static final class Ocket.Empty extends Object implements Ocket
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()
OcketThrows OcketNotFoundException if this object
 doesn't exist in S3 bucket.
public boolean exists()
Ocketpublic void read(OutputStream output)
OcketThrows OcketNotFoundException if this object
 doesn't exist in S3 bucket.
public void write(InputStream input, com.amazonaws.services.s3.model.ObjectMetadata meta)
Ocketpublic int compareTo(Ocket ocket)
compareTo in interface Comparable<Ocket>Copyright © 2012–2017 jcabi.com. All rights reserved.