org.kc7bfi.jflac.metadata
Class Picture

java.lang.Object
  extended by org.kc7bfi.jflac.metadata.Metadata
      extended by org.kc7bfi.jflac.metadata.Picture

public class Picture
extends Metadata

Picture Metadata block.

Version:
$Revision: 1.3 $
Author:
BMacNaughton

Field Summary
protected  byte[] image
           
 
Fields inherited from class org.kc7bfi.jflac.metadata.Metadata
isLast, METADATA_TYPE_APPLICATION, METADATA_TYPE_CUESHEET, METADATA_TYPE_PADDING, METADATA_TYPE_PICTURE, METADATA_TYPE_SEEKTABLE, METADATA_TYPE_STREAMINFO, METADATA_TYPE_VORBIS_COMMENT, STREAM_METADATA_IS_LAST_LEN, STREAM_METADATA_LENGTH_LEN, STREAM_METADATA_TYPE_LEN
 
Constructor Summary
Picture(BitInputStream is, int length, boolean isLast)
          The constructor.
 
Method Summary
 String toString()
          Convert the class to a string representation.
 
Methods inherited from class org.kc7bfi.jflac.metadata.Metadata
isLast
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

image

protected byte[] image
Constructor Detail

Picture

public Picture(BitInputStream is,
               int length,
               boolean isLast)
        throws IOException
The constructor.

Parameters:
is - The InputBitStream
length - Length of the record
isLast - True if this is the last Metadata block in the chain
Throws:
IOException - Thrown if error reading from InputBitStream
Method Detail

toString

public String toString()
Convert the class to a string representation.

Overrides:
toString in class Object
Returns:
A string representation of the Picture metadata


Copyright © 2004-2011. All Rights Reserved.