com.gc.iotools.stream.store
Interface Store
- All Known Subinterfaces:
- SeekableStore
- All Known Implementing Classes:
- MemoryStore, OnOffStore, ThresholdStore
public interface Store
Represent a place where bytes are memorized. Used in streams that need to
remember the data who was read.
- Since:
- 1.2.0
- Author:
- dvd.smnt
- See Also:
RandomAccessInputStream
|
Method Summary |
void |
cleanup()
Cleans up the Store. |
int |
get(byte[] bytes,
int offset,
int length)
|
void |
put(byte[] bytes,
int offset,
int length)
|
cleanup
void cleanup()
- Cleans up the Store. Forget all the data previously stored.
get
int get(byte[] bytes,
int offset,
int length)
throws IOException
- Throws:
IOException
put
void put(byte[] bytes,
int offset,
int length)
throws IOException
- Throws:
IOException
Copyright © 2008-2009. All Rights Reserved.