org.jaudiotagger.audio.flac.metadatablock
Class MetadataBlockDataCueSheet

java.lang.Object
  extended by org.jaudiotagger.audio.flac.metadatablock.MetadataBlockDataCueSheet
All Implemented Interfaces:
MetadataBlockData

public class MetadataBlockDataCueSheet
extends java.lang.Object
implements MetadataBlockData

Cuesheet Block

This block is for storing various information that can be used in a cue sheet. It supports track and index points, compatible with Red Book CD digital audio discs, as well as other CD-DA metadata such as media catalog number and track ISRCs. The CUESHEET block is especially useful for backing up CD-DA discs, but it can be used as a general purpose cueing mechanism for playback


Field Summary
private  byte[] data
           
 
Constructor Summary
MetadataBlockDataCueSheet(MetadataBlockHeader header, java.io.RandomAccessFile raf)
           
 
Method Summary
 byte[] getBytes()
           
 int getLength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

private byte[] data
Constructor Detail

MetadataBlockDataCueSheet

public MetadataBlockDataCueSheet(MetadataBlockHeader header,
                                 java.io.RandomAccessFile raf)
                          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface MetadataBlockData
Returns:
the rawdata as it will be written to file

getLength

public int getLength()
Specified by:
getLength in interface MetadataBlockData
Returns:
the length in bytes that the data uses when written to file