Package com.jcabi.s3.fake
Class FkBucket
java.lang.Object
com.jcabi.s3.fake.FkBucket
- All Implemented Interfaces:
Bucket,Comparable<Bucket>
Mock/fake bucket.
- Since:
- 0.6
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jcabi.s3.Bucket
Bucket.Prefixed -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FkBucket
Ctor.- Throws:
IOException- If fails- Since:
- 0.17
-
FkBucket
Ctor.- Parameters:
name- Name of the bucket- Throws:
IOException- If fails- Since:
- 0.17
-
FkBucket
Ctor.- Parameters:
file- Directory to keep files inname- Name of the bucket
-
FkBucket
Ctor.- Parameters:
file- Directory to keep files inname- Name of the bucket- Since:
- 0.17
-
FkBucket
Ctor.- Parameters:
file- Directory to keep files inname- Name of the bucket- Since:
- 0.17
-
-
Method Details
-
toString
-
region
Description copied from interface:BucketGet region we're in. -
name
Description copied from interface:BucketGet bucket name. -
ocket
Description copied from interface:BucketGet object. -
exists
public boolean exists()Description copied from interface:BucketChecks if the bucket exists. -
remove
Description copied from interface:BucketDelete object from bucket. -
list
Description copied from interface:BucketList object names with a given prefix. -
compareTo
- Specified by:
compareToin interfaceComparable<Bucket>
-