org.jaudiotagger.audio.asf.data
Class EncodingChunk

java.lang.Object
  extended by org.jaudiotagger.audio.asf.data.Chunk
      extended by org.jaudiotagger.audio.asf.data.EncodingChunk

public class EncodingChunk
extends Chunk

This class was intended to store the data of a chunk which contained the encoding parameters in textual form.
Since the needed parameters were found in other chunks the implementation of this class was paused.
TODO complete analysis.

Author:
Christian Laireiter

Field Summary
private  java.util.List<java.lang.String> strings
          The read strings.
 
Fields inherited from class org.jaudiotagger.audio.asf.data.Chunk
chunkLength, guid, position
 
Constructor Summary
EncodingChunk(java.math.BigInteger chunkLen)
          Creates an instance.
 
Method Summary
 void addString(java.lang.String toAdd)
          This method appends a String.
 java.util.Collection<java.lang.String> getStrings()
          This method returns a collection of all Strings which were added due addString(String).
 java.lang.String prettyPrint(java.lang.String prefix)
          This method creates a String containing useful information prepared to be printed on STD-OUT.
 
Methods inherited from class org.jaudiotagger.audio.asf.data.Chunk
getChunckEnd, getChunkEnd, getChunkLength, getGuid, getPosition, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

strings

private final java.util.List<java.lang.String> strings
The read strings.

Constructor Detail

EncodingChunk

public EncodingChunk(java.math.BigInteger chunkLen)
Creates an instance.

Parameters:
chunkLen - Length of current chunk.
Method Detail

addString

public void addString(java.lang.String toAdd)
This method appends a String.

Parameters:
toAdd - String to add.

getStrings

public java.util.Collection<java.lang.String> getStrings()
This method returns a collection of all Strings which were added due addString(String).

Returns:
Inserted Strings.

prettyPrint

public java.lang.String prettyPrint(java.lang.String prefix)
This method creates a String containing useful information prepared to be printed on STD-OUT.
This method is intended to be overwritten by inheriting classes.

Overrides:
prettyPrint in class Chunk
Parameters:
prefix - each line gets this string prepended.
Returns:
Information of current Chunk Object.