|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.flatfile.EntitySupport
public abstract class EntitySupport
Generic entity support stuff.
| Constructor Summary | |
|---|---|
EntitySupport()
|
|
| Method Summary | |
|---|---|
EntitySupport |
clone()
Clone oneself. |
void |
fill(byte b)
Fill this entity's value with all b. |
byte[] |
getValue(int offset,
int length)
Get a subset of this Entity's value. |
void |
setValue(byte[] b,
int offset,
int length)
Set this Entity's value to a subset of the specified byte[]. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.commons.flatfile.Entity |
|---|
getValue, length, readFrom, setValue, writeTo |
| Constructor Detail |
|---|
public EntitySupport()
| Method Detail |
|---|
public void fill(byte b)
throws IOException
b.
fill in interface Entityb - value
IOException - on errorpublic EntitySupport clone()
clone in interface Entityclone in class Object
public byte[] getValue(int offset,
int length)
getValue in interface Entityoffset - to startlength - to extend
public void setValue(byte[] b,
int offset,
int length)
setValue in interface Entityb - byte[]offset - intlength - int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||