|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dusbabek.lib.id3.Mp3File
public class Mp3File
The highest level of dealing with id3s. At this level, you don't have to know about ID3 versions, frames or anything like that. You just open up a file, request its tag, make changes and write to a different file.
Constructor Summary | |
---|---|
Mp3File(java.io.File file)
constructor. |
Method Summary | |
---|---|
Tag |
getTag()
get the tag for this file. |
void |
setTag(Tag tag)
set the tag for this file. |
void |
write(java.io.File f)
rewrite to a different file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mp3File(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException
file
- File
java.io.FileNotFoundException
java.io.IOException
Method Detail |
---|
public void setTag(Tag tag)
tag
- Tagpublic Tag getTag()
public void write(java.io.File f) throws java.io.IOException
f
- File
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |