org.jaudiotagger.audio.flac.metadatablock
Class MetadataBlockDataApplication

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

public class MetadataBlockDataApplication
extends java.lang.Object
implements MetadataBlockData

Application Block

This block is for use by third-party applications. The only mandatory field is a 32-bit identifier. This ID is granted upon request to an application by the FLAC maintainers. The remainder is of the block is defined by the registered application.


Field Summary
private  byte[] data
           
 
Constructor Summary
MetadataBlockDataApplication(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

MetadataBlockDataApplication

public MetadataBlockDataApplication(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