|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kc7bfi.jflac.metadata.SeekPoint
public class SeekPoint
An entry into the seek table.
| Field Summary | |
|---|---|
protected int |
frameSamples
|
protected long |
sampleNumber
|
protected long |
streamOffset
|
| Constructor Summary | |
|---|---|
SeekPoint(BitInputStream is)
The constructor. |
|
SeekPoint(long sampleNumber,
long streamOffset,
int frameSamples)
The constructor. |
|
| Method Summary | |
|---|---|
int |
getFrameSamples()
Return the frame samples. |
long |
getSampleNumber()
return the sample number. |
long |
getStreamOffset()
return the stream offset. |
void |
setStreamOffset(long streamOffset)
Set the stream offset. |
String |
toString()
|
void |
write(BitOutputStream os)
Write out an individual seek point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected long sampleNumber
protected long streamOffset
protected int frameSamples
| Constructor Detail |
|---|
public SeekPoint(BitInputStream is)
throws IOException
is - The InputBitStream
IOException - Thrown if error reading from InputBitStream
public SeekPoint(long sampleNumber,
long streamOffset,
int frameSamples)
sampleNumber - The sample number of the target framestreamOffset - The offset, in bytes, of the target frame with respect to beginning of the first frameframeSamples - The number of samples in the target frame| Method Detail |
|---|
public void write(BitOutputStream os)
throws IOException
os - The output stream
IOException - Thrown if error writing datapublic String toString()
toString in class ObjectObject.toString()public int getFrameSamples()
public long getSampleNumber()
public long getStreamOffset()
public void setStreamOffset(long streamOffset)
streamOffset - The stream offset to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||