|
|||||||||
| 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.
| 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. |
java.lang.String |
toString()
|
void |
write(BitOutputStream os)
Write out an individual seek point. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SeekPoint(BitInputStream is)
throws java.io.IOException
is - The InputBitStream
java.io.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 java.io.IOException
os - The output stream
java.io.IOException - Thrown if error writing datapublic java.lang.String toString()
toString in class java.lang.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 | ||||||||