|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.File | +--org.metasyntactic.id3.v1.Id3v1File
Field Summary |
Fields inherited from class java.io.File |
pathSeparator, pathSeparatorChar, separator, separatorChar |
Constructor Summary | |
Id3v1File(java.io.File file)
|
|
Id3v1File(java.io.File parent,
java.lang.String child)
|
|
Id3v1File(java.lang.String fileName)
Creates new Id3v1File |
|
Id3v1File(java.lang.String parent,
java.lang.String child)
|
Method Summary | |
boolean |
addTag(Tag tag)
Add's this tag to the file passed in. |
Tag |
getTag()
|
boolean |
hasTag()
Returns true if this file has a tag |
static void |
main(java.lang.String[] args)
|
Tag |
removeTag()
Removes the id3 tag from this file and returns it. |
java.lang.String |
toString()
|
Methods inherited from class java.io.File |
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toURI, toURL |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Id3v1File(java.io.File file)
public Id3v1File(java.lang.String fileName)
public Id3v1File(java.io.File parent, java.lang.String child)
public Id3v1File(java.lang.String parent, java.lang.String child)
Method Detail |
public Tag removeTag() throws java.io.IOException
null
is returned.
java.io.IOException
public boolean addTag(Tag tag) throws java.io.IOException
java.io.IOException
public boolean hasTag() throws java.io.IOException
java.io.IOException
public Tag getTag() throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.io.File
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |