- free
Free the bucket, if supported. Note that you must call free() even if you
haven't used the Bucket (h
- getInputStream
Returns an InputStream that reads data from this Bucket. If there is no data in
this bucket, null is
- getOutputStream
Returns an OutputStream that is used to put data in this Bucket, from the
beginning. It is not possi
- size
Returns the amount of data currently in this bucket in bytes.
- createShadow
Create a shallow read-only copy of this bucket, using different objects but
using the same external
- getInputStreamUnbuffered
- getName
Returns a name for the bucket, may be used to identify them in certain in
certain situations.
- getOutputStreamUnbuffered
Get an OutputStream which is not buffered. Should be called when we will buffer
the stream at a high
- onResume
Called after restarting. The Bucket should do any necessary housekeeping after
resuming, e.g. regist
- setReadOnly
Make the bucket read-only. Irreversible.
- storeTo
Write enough data to reconstruct the Bucket, or throw
UnsupportedOperationException. Used for recove