magoffin.matt.meta.audio
Class ID3v1_1MetadataResource

java.lang.Object
  extended by magoffin.matt.meta.support.AbstractMetadataResource
      extended by magoffin.matt.meta.support.AbstractEnumMetadataResource<AudioMetadataType>
          extended by magoffin.matt.meta.audio.ID3v1MetadataResource
              extended by magoffin.matt.meta.audio.ID3v1_1MetadataResource
All Implemented Interfaces:
AudioMetadataResource, MetadataResource

public class ID3v1_1MetadataResource
extends ID3v1MetadataResource

MetadataResource implementation for ID3v1.1 resources.

Version:
$Revision: 3 $ $Date: 2008-12-27 08:09:28 +1300 (Sat, 27 Dec 2008) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Field Summary
 
Fields inherited from class magoffin.matt.meta.support.AbstractMetadataResource
log
 
Constructor Summary
ID3v1_1MetadataResource(java.io.RandomAccessFile file)
          Construct with a RandomAccessFile.
 
Method Summary
protected  void parseFile(java.io.RandomAccessFile file)
          Parse ID3v1 metadata from a file.
 
Methods inherited from class magoffin.matt.meta.audio.ID3v1MetadataResource
getValue
 
Methods inherited from class magoffin.matt.meta.support.AbstractEnumMetadataResource
addError, addValue, getValue, getValues, setValue, setValues
 
Methods inherited from class magoffin.matt.meta.support.AbstractMetadataResource
addError, addValue, clearValues, getParsedKeys, getParseErrors, getValueList, getValues, setValue, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface magoffin.matt.meta.audio.AudioMetadataResource
getValue, getValues
 
Methods inherited from interface magoffin.matt.meta.MetadataResource
getParsedKeys, getParseErrors, getValues
 

Constructor Detail

ID3v1_1MetadataResource

public ID3v1_1MetadataResource(java.io.RandomAccessFile file)
                        throws java.io.IOException
Construct with a RandomAccessFile.

Parameters:
file - the file
Throws:
java.io.IOException - if an error occurs
Method Detail

parseFile

protected void parseFile(java.io.RandomAccessFile file)
                  throws java.io.IOException
Description copied from class: ID3v1MetadataResource
Parse ID3v1 metadata from a file.

Overrides:
parseFile in class ID3v1MetadataResource
Parameters:
file - the file
Throws:
java.io.IOException - if an IO error occurs