railo.commons.io.res.type.s3
Class Bucket
java.lang.Object
railo.commons.io.res.type.s3.Bucket
- All Implemented Interfaces:
- S3Info
public final class Bucket
- extends Object
- implements S3Info
Bucket
public Bucket(S3 s3)
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
- See Also:
Object.toString()
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interface S3Info
- See Also:
S3Info.getLastModified()
getSize
public long getSize()
- Specified by:
getSize
in interface S3Info
- See Also:
S3Info.getSize()
exists
public boolean exists()
- Specified by:
exists
in interface S3Info
- See Also:
S3Info.exists()
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory
in interface S3Info
- See Also:
S3Info.isDirectory()
isFile
public boolean isFile()
- Specified by:
isFile
in interface S3Info
- See Also:
S3Info.isFile()
Copyright © 2012 Railo