org.jaudiotagger.audio.asf.io
Class EncodingChunkReader

java.lang.Object
  extended by org.jaudiotagger.audio.asf.io.EncodingChunkReader

public class EncodingChunkReader
extends java.lang.Object

This class reads the chunk containing encoding data
Warning:
Implementation is not completed. More analysis of this chunk is needed.

Author:
Christian Laireiter

Method Summary
static EncodingChunk read(java.io.RandomAccessFile raf, Chunk candidate)
          This reads the current data and interprets it as an encoding chunk.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public static EncodingChunk read(java.io.RandomAccessFile raf,
                                 Chunk candidate)
                          throws java.io.IOException
This reads the current data and interprets it as an encoding chunk.
Warning:
Implementation is not completed. More analysis of this chunk is needed.

Parameters:
raf - Input source
candidate - Chunk which possibly contains encoding data.
Returns:
Encoding info. null if its not a valid encoding chunk.
Throws:
java.io.IOException - read errors.