railo.commons.io.res.type.s3
Class Content
java.lang.Object
railo.commons.io.res.type.s3.Content
- All Implemented Interfaces:
- S3Info
public final class Content
- extends Object
- implements S3Info
Content
public Content(S3 s3)
isTruncated
public boolean isTruncated()
- Returns:
- the truncated
getBucketName
public String getBucketName()
- Returns:
- the bucketName
setBucketName
public void setBucketName(String bucketName)
- Parameters:
bucketName
- the bucketName to set
getKey
public String getKey()
- Returns:
- the key
setKey
public void setKey(String key)
- Parameters:
key
- the key to set
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interface S3Info
- Returns:
- the lastModified
setLastModified
public void setLastModified(long lastModified)
- Parameters:
lastModified
- the lastModified to set
getETag
public String getETag()
- Returns:
- the eTag
setETag
public void setETag(String tag)
- Parameters:
tag
- the eTag to set
getSize
public long getSize()
- Specified by:
getSize
in interface S3Info
- Returns:
- the size
setSize
public void setSize(long size)
- Parameters:
size
- the size to set
getStorageClass
public String getStorageClass()
- Returns:
- the storageClass
setStorageClass
public void setStorageClass(String storageClass)
- Parameters:
storageClass
- the storageClass to set
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
getLink
public String getLink(int secondsValid)
throws InvalidKeyException,
NoSuchAlgorithmException,
IOException
- Throws:
InvalidKeyException
NoSuchAlgorithmException
IOException
getInputStream
public InputStream getInputStream()
throws InvalidKeyException,
NoSuchAlgorithmException,
IOException,
SAXException
- Throws:
InvalidKeyException
NoSuchAlgorithmException
IOException
SAXException
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
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()
setTruncated
public void setTruncated(boolean truncated)
- Parameters:
truncated
- the truncated to set
Copyright © 2012 Railo