os.djtagger.tagger.id3
Class Id3Tagger

java.lang.Object
  extended by os.djtagger.tagger.AbstractTagger
      extended by os.djtagger.tagger.id3.Id3Tagger
All Implemented Interfaces:
Constants, Tagger

public class Id3Tagger
extends AbstractTagger
implements Constants


Field Summary
static java.lang.String ID3_V1
           
static java.lang.String ID3_V1_1
           
static java.lang.String ID3_V2_2
           
static java.lang.String ID3_V2_3
           
static java.lang.String ID3_V2_4
           
static java.util.Map<TagNames,org.jaudiotagger.tag.TagFieldKey> TO_TAG_FIELD_KEY
           
static java.util.Collection<TagNames> V1_TAGS
           
 
Fields inherited from interface os.djtagger.tagger.id3.Constants
COMM, PUID, RGAIN_ALBUM_GAIN, RGAIN_ALBUM_PEAK, RGAIN_TRACK_GAIN, RGAIN_TRACK_PEAK, TALB, TCON, TIT2, TPE1, TRCK, TXXX, TYER
 
Constructor Summary
Id3Tagger()
           
 
Method Summary
 boolean accept(java.io.File file)
           
 void close(java.io.File file)
           
 void flush()
           
 void flush(java.io.File file)
           
 int getDuration(java.io.File file)
           
 java.lang.String getItemSeparator()
           
protected  org.jaudiotagger.audio.mp3.MP3File getMp3ForWrite(java.io.File file)
           
 java.lang.Object getTag(java.io.File file, TagNames tag)
           
 java.lang.String getTextFrame(java.io.File file, java.lang.String tagId)
           
 java.lang.String getV1Tag(java.io.File file, TagNames tag)
           
 java.lang.String getV2Version(java.io.File f)
           
 boolean hasV1Tag(java.io.File file)
           
 void setTag(java.io.File file, TagNames tag, java.lang.Object object)
           
 void setV1Tag(java.io.File file, TagNames tag, java.lang.String value)
           
 
Methods inherited from class os.djtagger.tagger.AbstractTagger
move
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID3_V1_1

public static final java.lang.String ID3_V1_1
See Also:
Constant Field Values

ID3_V1

public static final java.lang.String ID3_V1
See Also:
Constant Field Values

ID3_V2_2

public static final java.lang.String ID3_V2_2
See Also:
Constant Field Values

ID3_V2_3

public static final java.lang.String ID3_V2_3
See Also:
Constant Field Values

ID3_V2_4

public static final java.lang.String ID3_V2_4
See Also:
Constant Field Values

V1_TAGS

public static final java.util.Collection<TagNames> V1_TAGS

TO_TAG_FIELD_KEY

public static final java.util.Map<TagNames,org.jaudiotagger.tag.TagFieldKey> TO_TAG_FIELD_KEY
Constructor Detail

Id3Tagger

public Id3Tagger()
Method Detail

accept

public boolean accept(java.io.File file)
Specified by:
accept in interface Tagger

getMp3ForWrite

protected org.jaudiotagger.audio.mp3.MP3File getMp3ForWrite(java.io.File file)

getItemSeparator

public java.lang.String getItemSeparator()

flush

public void flush()
Specified by:
flush in interface Tagger

flush

public void flush(java.io.File file)
Specified by:
flush in interface Tagger

close

public void close(java.io.File file)
Specified by:
close in interface Tagger

setTag

public void setTag(java.io.File file,
                   TagNames tag,
                   java.lang.Object object)
Specified by:
setTag in interface Tagger

getTag

public java.lang.Object getTag(java.io.File file,
                               TagNames tag)
Specified by:
getTag in interface Tagger

getTextFrame

public java.lang.String getTextFrame(java.io.File file,
                                     java.lang.String tagId)

getV2Version

public java.lang.String getV2Version(java.io.File f)

setV1Tag

public void setV1Tag(java.io.File file,
                     TagNames tag,
                     java.lang.String value)

hasV1Tag

public boolean hasV1Tag(java.io.File file)

getV1Tag

public java.lang.String getV1Tag(java.io.File file,
                                 TagNames tag)

getDuration

public int getDuration(java.io.File file)


Copyright © 2007-2010 Pointbreak. All Rights Reserved.