railo.commons.io.res.type.s3
Class Bucket

java.lang.Object
  extended by railo.commons.io.res.type.s3.Bucket
All Implemented Interfaces:
S3Info

public final class Bucket
extends Object
implements S3Info


Constructor Summary
Bucket(S3 s3)
           
 
Method Summary
 boolean exists()
           
 DateTime getCreation()
           
 long getLastModified()
           
 String getName()
           
 String getOwnerDisplayName()
           
 String getOwnerIdKey()
           
 long getSize()
           
 boolean isDirectory()
           
 boolean isFile()
           
 Content[] listContent(String prefix, String marker, int maxKeys)
           
 void setCreation(DateTime creation)
           
 void setName(String name)
           
 void setOwnerDisplayName(String ownerDisplayName)
           
 void setOwnerIdKey(String ownerIdKey)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bucket

public Bucket(S3 s3)
Method Detail

getOwnerIdKey

public String getOwnerIdKey()
Returns:
the ownerIdKey

setOwnerIdKey

public void setOwnerIdKey(String ownerIdKey)
Parameters:
ownerIdKey - the ownerIdKey to set

getOwnerDisplayName

public String getOwnerDisplayName()
Returns:
the ownerDisplayName

setOwnerDisplayName

public void setOwnerDisplayName(String ownerDisplayName)
Parameters:
ownerDisplayName - the ownerDisplayName to set

getName

public String getName()
Returns:
the name

getCreation

public DateTime getCreation()
Returns:
the creation

setName

public void setName(String name)
Parameters:
name - the name to set

setCreation

public void setCreation(DateTime creation)
Parameters:
creation - the creation to set

listContent

public Content[] listContent(String prefix,
                             String marker,
                             int maxKeys)
                      throws InvalidKeyException,
                             MalformedURLException,
                             NoSuchAlgorithmException,
                             IOException,
                             SAXException
Throws:
InvalidKeyException
MalformedURLException
NoSuchAlgorithmException
IOException
SAXException

toString

public String toString()
Overrides:
toString in class Object

getLastModified

public long getLastModified()
Specified by:
getLastModified in interface S3Info

getSize

public long getSize()
Specified by:
getSize in interface S3Info

exists

public boolean exists()
Specified by:
exists in interface S3Info

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in interface S3Info

isFile

public boolean isFile()
Specified by:
isFile in interface S3Info


Copyright © 2012 Railo