|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilePlugin
This interface has to be implemented by all PlugIns, which represent a fileformat like the Mp3-PlugIn or the Ogg-PlugIn.
Field Summary |
---|
Fields inherited from interface net.sf.jmp3renamer.Plugin |
---|
DATA, FILE, GENERAL |
Method Summary | |
---|---|
ExtendedFileFilter |
getFileFilter()
Returns a filefilter, which filters files with the fitting suffix for this format. |
DataSet |
getMetaData(File file)
Reads the meta data from a given file. |
MyFile |
rename(MyFile file,
DataSet dataset)
Renames a file with the data of the DataSet |
Methods inherited from interface net.sf.jmp3renamer.Plugin |
---|
coreStarted, getAuthor, getConfig, getConfigGUI, getDescription, getName, getType, getVersion, init, saveConfig, toString |
Method Detail |
---|
ExtendedFileFilter getFileFilter()
MyFile rename(MyFile file, DataSet dataset)
file
- The file, which should be renameddataset
- The data, which should be used for renaming
DataSet getMetaData(File file)
file
- The File, which should be parsed for meta data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |