|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.imgfmt.app.Section
public class Section
Represents an item size the position where those items start and the total size of the section.
Constructor Summary | |
---|---|
Section()
|
|
Section(char itemSize)
|
|
Section(Section link)
|
|
Section(Section link,
char itemSize)
|
Method Summary | |
---|---|
static void |
close(ImgFileWriter writer)
|
int |
getEndPos()
Get the position of the end of the section. |
protected int |
getExtraValue()
|
char |
getItemSize()
|
int |
getNumItems()
Get the number of items in the section. |
int |
getPosition()
Get the start position of this section. |
int |
getSize()
|
void |
inc()
|
void |
readSectionInfo(ImgFileReader reader,
boolean withItemSize)
|
void |
setExtraValue(int extraValue)
|
void |
setItemSize(char itemSize)
|
void |
setPosition(int position)
|
void |
setSize(int size)
|
java.lang.String |
toString()
|
void |
writeSectionInfo(ImgFileWriter writer)
|
void |
writeSectionInfo(ImgFileWriter writer,
boolean withItemSize)
|
void |
writeSectionInfo(ImgFileWriter writer,
boolean withItemSize,
boolean withExtraValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Section()
public Section(char itemSize)
public Section(Section link, char itemSize)
public Section(Section link)
Method Detail |
---|
public void inc()
public char getItemSize()
public void setItemSize(char itemSize)
public int getSize()
public void setSize(int size)
public int getPosition()
public void setPosition(int position)
public int getEndPos()
public java.lang.String toString()
toString
in class java.lang.Object
public int getNumItems()
protected int getExtraValue()
public void setExtraValue(int extraValue)
public void readSectionInfo(ImgFileReader reader, boolean withItemSize)
public void writeSectionInfo(ImgFileWriter writer)
public void writeSectionInfo(ImgFileWriter writer, boolean withItemSize)
public void writeSectionInfo(ImgFileWriter writer, boolean withItemSize, boolean withExtraValue)
public static void close(ImgFileWriter writer)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |