|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--medi.util.AbstractFile2Db | +--medi.util.MP3File2Db
Maps an MP3 into the database, storing information about the title, sampling, author, album. Thanks go to the creator of jd3lib.
Field Summary |
Fields inherited from class medi.util.AbstractFile2Db |
extensions, prv |
Constructor Summary | |
MP3File2Db()
Creates new MP3File2Db |
Method Summary | |
java.lang.Long |
process(java.io.File procFile,
java.lang.Integer fileTypeID)
Processes a file. |
void |
setProvider(Provider pPrv)
Sets the provider to use. |
Methods inherited from class medi.util.AbstractFile2Db |
getExtensions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MP3File2Db()
Method Detail |
public void setProvider(Provider pPrv)
setProvider
in class AbstractFile2Db
pPrv
- The provider to use.public java.lang.Long process(java.io.File procFile, java.lang.Integer fileTypeID) throws DbException
process
in class AbstractFile2Db
procFile
- The file to process.fileTypeID
- Its file type ID.
DbException
- If something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |