@Immutable @Loggable(value=1) public final class ReOcket extends Object implements Ocket
Ocket.Text| Modifier and Type | Method and Description | 
|---|---|
Bucket | 
bucket()
Get bucket we're in. 
 | 
int | 
compareTo(Ocket okt)  | 
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 ReOcket(Ocket okt)
okt - Ocket we're in@RetryOnFailure(verbose=false) public com.amazonaws.services.s3.model.ObjectMetadata meta() throws IOException
Ocketmeta in interface OcketIOException - If fails@RetryOnFailure(verbose=false) public boolean exists() throws IOException
Ocketexists in interface OcketIOException - If fails@RetryOnFailure(verbose=false) public void read(OutputStream output) throws IOException
Ocketread in interface Ocketoutput - Where to writeIOException - If fails@RetryOnFailure(verbose=false) public void write(InputStream input, com.amazonaws.services.s3.model.ObjectMetadata meta) throws IOException
Ocketwrite in interface Ocketinput - Where to get contentmeta - Metadata to saveIOException - If failspublic int compareTo(Ocket okt)
compareTo in interface Comparable<Ocket>Copyright © 2012–2014 jcabi.com. All rights reserved.