public interface Store
RandomAccessInputStream| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Cleans up the Store.
|
int |
get(byte[] bytes,
int offset,
int length)
gets
length bytes from the store. |
void |
put(byte[] bytes,
int offset,
int length)
put
|
void cleanup()
int get(byte[] bytes,
int offset,
int length)
throws IOException
length bytes from the store.bytes - array where to put the data in.offset - offset in the array to start put the data.length - length of the bytes got from the store.IOException - when an error occurs in the store, and data can't be
retrieved.void put(byte[] bytes,
int offset,
int length)
throws IOException
put
bytes - an array of byte.offset - a int.length - a int.IOException - if any.Copyright © 2008–2016. All rights reserved.