|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.blinkenlights.jid3.MediaFile
org.blinkenlights.jid3.MP3File
Field Summary |
Fields inherited from class org.blinkenlights.jid3.MediaFile |
m_oFileSource, m_oID3V1Tag, m_oID3V2Tag |
Constructor Summary | |
MP3File(java.io.File oSourceFile)
Construct an object representing the MP3 file specified. |
|
MP3File(IFileSource oFileSource)
|
Method Summary | |
ID3V1Tag |
getID3V1Tag()
Get the ID3 V1 tag from this file. |
ID3V2Tag |
getID3V2Tag()
Get the ID3 V2 tag from this file. |
ID3Tag[] |
getTags()
Get any tags stored in the file. |
void |
removeID3V1Tag()
Remove V1 tags from this file if present. |
void |
removeID3V2Tag()
Remove V2 tags from this file if present. |
void |
removeTags()
Remove both V1 and V2 tags from this file if present. |
void |
sync()
Update the actual file to reflect the current state of the tags as set in this object. |
Methods inherited from class org.blinkenlights.jid3.MediaFile |
setID3Tag |
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 oSourceFile)
oSourceFile
- a File pointing to the source MP3 filepublic MP3File(IFileSource oFileSource)
Method Detail |
public void sync() throws ID3Exception
MediaFile
sync
in class MediaFile
ID3Exception
- if an error occurs updating the filepublic ID3Tag[] getTags() throws ID3Exception
MediaFile
getTags
in class MediaFile
ID3Exception
- if there is any error reading the filepublic ID3V1Tag getID3V1Tag() throws ID3Exception
MediaFile
getID3V1Tag
in class MediaFile
ID3Exception
- if there is an error reading the filepublic ID3V2Tag getID3V2Tag() throws ID3Exception
MediaFile
getID3V2Tag
in class MediaFile
ID3Exception
- if there is an error reading the filepublic void removeTags() throws ID3Exception
MediaFile
removeTags
in class MediaFile
ID3Exception
- if there is an error processing the filepublic void removeID3V1Tag() throws ID3Exception
MediaFile
removeID3V1Tag
in class MediaFile
ID3Exception
- if there is an error processing the filepublic void removeID3V2Tag() throws ID3Exception
MediaFile
removeID3V2Tag
in class MediaFile
ID3Exception
- if there is an error processing the file
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |