java.lang.Object
joeshmoe.mpeg.ID3Tagger
- public class ID3Tagger
- extends java.lang.Object
Reads and sets ID3 tags in MPEG audio files. Currently only V1 ID3 tags
are supported.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID3Tagger
public ID3Tagger()
readTag
public static ID3Tag readTag(java.io.File pFile)
throws java.io.IOException,
java.io.FileNotFoundException
- reads an ID3 tag from a file. Returns null if no tag is present.
writeTag
public static boolean writeTag(java.io.File pFile,
ID3Tag pTag)
throws java.io.IOException,
java.io.FileNotFoundException
- write an ID3 tag to a file.
Note: will write a tag to the specified file whether or not it is a
valid MPEG file.