|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.noderunner.amazon.s3.Bucket
public class Bucket
A class representing a single bucket.
Constructor Summary | |
---|---|
Bucket(java.lang.String name)
Constructs a new Bucket. |
Method Summary | |
---|---|
java.util.Date |
getCreationDate()
Returns creationDate. |
java.lang.String |
getName()
Returns name. |
boolean |
specified()
Returns true if specified; length is non-zero. |
java.lang.String |
toString()
Returns the name. |
static boolean |
validateBucketName(java.lang.String bucketName,
CallingFormat callingFormat)
Returns true if the bucket name is valid for the calling format. |
boolean |
validateName(CallingFormat callingFormat)
Returns true if the bucket name is valid for the calling format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Bucket(java.lang.String name)
name
- non-null nameMethod Detail |
---|
public java.lang.String getName()
public boolean specified()
public java.util.Date getCreationDate()
public java.lang.String toString()
toString
in class java.lang.Object
public static boolean validateBucketName(java.lang.String bucketName, CallingFormat callingFormat)
public boolean validateName(CallingFormat callingFormat)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |