|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imagero.uio.bio.content.Content
| Constructor Summary | |
Content()
|
|
| Method Summary | |
abstract boolean |
canReload()
Determine if data may be reloaded or not. |
abstract void |
close()
close stream |
protected void |
finalize()
|
abstract long |
length()
Get stream length. |
int |
load(long offset,
byte[] buffer)
Load stream content to specified buffer |
abstract int |
load(long offset,
int bpos,
byte[] buffer)
Load stream content to specified buffer |
abstract void |
save(long offset,
int bpos,
byte[] buffer,
int length)
Save buffer content to stream. |
abstract boolean |
writable()
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Content()
| Method Detail |
public final int load(long offset,
byte[] buffer)
throws java.io.IOException
offset - stream offsetbuffer - byte array
java.io.IOException
public abstract int load(long offset,
int bpos,
byte[] buffer)
throws java.io.IOException
offset - stream offsetbpos - buffer positionbuffer - byte array
java.io.IOException
public abstract void save(long offset,
int bpos,
byte[] buffer,
int length)
throws java.io.IOException
offset - stream offsetbpos - buffer positionbuffer - byte arraylength - how much bytes should be saved
java.io.IOException
public abstract long length()
throws java.io.IOException
java.io.IOExceptionpublic abstract void close()
public abstract boolean canReload()
public abstract boolean writable()
protected void finalize()
throws java.lang.Throwable
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||