entagged.audioformats.asf.data
Class EncodingChunk

java.lang.Object
  extended by entagged.audioformats.asf.data.Chunk
      extended by entagged.audioformats.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
 
Fields inherited from class entagged.audioformats.asf.data.Chunk
chunkLength, guid, position
 
Constructor Summary
EncodingChunk(long pos, BigInteger chunkLen)
          Creates an instance.
 
Method Summary
 void addString(String toAdd)
          This method appends a String.
 Collection getStrings()
          This method returns a collection of all Strings which were addid due addString(String).
 String prettyPrint()
          (overridden)
 
Methods inherited from class entagged.audioformats.asf.data.Chunk
getChunckEnd, getChunkLength, getGuid, getPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EncodingChunk

public EncodingChunk(long pos,
                     BigInteger chunkLen)
Creates an instance.

Parameters:
pos - Position of the chunk within file or stream
chunkLen - Length of current chunk.
Method Detail

addString

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

Parameters:
toAdd - String to add.

getStrings

public Collection getStrings()
This method returns a collection of all Strings which were addid due addString(String).

Returns:
Inserted Strings.

prettyPrint

public String prettyPrint()
(overridden)

Overrides:
prettyPrint in class Chunk
Returns:
Information of current Chunk Object.
See Also:
Chunk.prettyPrint()


Copyright © 2007-2008. All Rights Reserved.