|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.imagero.uio.bio.content.Content
com.imagero.uio.bio.content.CharArrayContent
Date: 05.01.2008
| Constructor Summary | |
CharArrayContent(char[][] data)
|
|
CharArrayContent(char[][] data,
boolean bigEndian)
|
|
| Method Summary | |
boolean |
canReload()
Determine if data may be reloaded or not. |
void |
close()
close stream |
long |
length()
Get stream length. |
int |
load(long offset,
int bpos,
byte[] dest)
Load stream content to specified buffer |
void |
save(long offset,
int spos,
byte[] src,
int length)
Save data to current content (char array). |
boolean |
writable()
|
| Methods inherited from class com.imagero.uio.bio.content.Content |
finalize, load |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CharArrayContent(char[][] data)
public CharArrayContent(char[][] data,
boolean bigEndian)
| Method Detail |
public int load(long offset,
int bpos,
byte[] dest)
throws java.io.IOException
Content
load in class Contentoffset - stream offsetbpos - buffer positiondest - byte array
java.io.IOExceptionpublic void close()
Content
close in class Content
public void save(long offset,
int spos,
byte[] src,
int length)
throws java.io.IOException
save in class Contentoffset - spos - src - length -
java.io.IOExceptionpublic boolean canReload()
Content
canReload in class Content
public long length()
throws java.io.IOException
Content
length in class Contentjava.io.IOExceptionpublic boolean writable()
writable in class Content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||