|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kc7bfi.jflac.metadata.Metadata
org.kc7bfi.jflac.metadata.SeekTable
public class SeekTable
SeekTable Metadata block.
| Field Summary | |
|---|---|
protected SeekPoint[] |
points
|
| Fields inherited from class org.kc7bfi.jflac.metadata.Metadata |
|---|
isLast, METADATA_TYPE_APPLICATION, METADATA_TYPE_CUESHEET, METADATA_TYPE_PADDING, METADATA_TYPE_PICTURE, METADATA_TYPE_SEEKTABLE, METADATA_TYPE_STREAMINFO, METADATA_TYPE_VORBIS_COMMENT, STREAM_METADATA_IS_LAST_LEN, STREAM_METADATA_LENGTH_LEN, STREAM_METADATA_TYPE_LEN |
| Constructor Summary | |
|---|---|
SeekTable(BitInputStream is,
int length,
boolean isLast)
The constructor. |
|
SeekTable(SeekPoint[] points,
boolean isLast)
Constructor. |
|
| Method Summary | |
|---|---|
int |
calcLength()
Calculate the metadata block size. |
SeekPoint |
getSeekPoint(int idx)
Return the selected seek point. |
int |
numberOfPoints()
Return the number of seek points. |
String |
toString()
|
void |
write(BitOutputStream os,
boolean isLast)
Write out the metadata block. |
| Methods inherited from class org.kc7bfi.jflac.metadata.Metadata |
|---|
isLast |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected SeekPoint[] points
| Constructor Detail |
|---|
public SeekTable(BitInputStream is,
int length,
boolean isLast)
throws IOException
is - The InputBitStreamlength - Length of the recordisLast - True if this is the last Metadata block in the chain
IOException - Thrown if error reading from InputBitStream
public SeekTable(SeekPoint[] points,
boolean isLast)
points - Seek PointsisLast - True if this is the last Metadata block in the chain| Method Detail |
|---|
public void write(BitOutputStream os,
boolean isLast)
throws IOException
os - The output streamisLast - True if this is the last metadata block
IOException - Thrown if error writing datapublic int calcLength()
public SeekPoint getSeekPoint(int idx)
idx - The seek point number
public int numberOfPoints()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||