|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.tuneology.avm.InfoReader
This class is used to read and write meta-information to media files.
Constructor Summary | |
InfoReader()
|
Method Summary | |
static long |
calculateSize(DiscInfo info,
FormatPrefs prefs)
Returns the size that the album will have after it has been converted according to the specified preferences. |
static long |
calculateSize(TocEntry ent,
FormatPrefs prefs)
Returns the size that the file will have after it has been converted according to the specified preferences. |
static java.lang.String[] |
getId3GenreArray()
Returns the list of ID3 genres. |
static java.util.ArrayList |
getMetaflacCmd()
|
static java.util.ArrayList |
getOggInfoCmd()
|
static java.lang.String |
getVersions()
|
static void |
readFileInfo(java.io.File f,
TocEntry info)
Reads header information from the specified file and fills in the supplied TocEntry object. |
static void |
setMetaflacCmd(java.lang.String cmd)
Sets the path for the metaflac command. |
static void |
setOggInfoCmd(java.lang.String cmd)
Sets the path for the ogginfo command. |
static void |
writeInfo(java.io.File f,
TocEntry ent)
Writes changed meta-info to the music file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InfoReader()
Method Detail |
public static long calculateSize(TocEntry ent, FormatPrefs prefs)
ent
- prefs
- public static long calculateSize(DiscInfo info, FormatPrefs prefs)
info
- prefs
- public static void readFileInfo(java.io.File f, TocEntry info) throws java.lang.Exception
public static void writeInfo(java.io.File f, TocEntry ent) throws java.lang.Exception
public static java.util.ArrayList getOggInfoCmd()
public static void setOggInfoCmd(java.lang.String cmd) throws java.lang.Exception
cmd
- the command for running ogginfo.public static java.util.ArrayList getMetaflacCmd()
public static void setMetaflacCmd(java.lang.String cmd) throws java.lang.Exception
cmd
- the command for running metaflac.public static java.lang.String getVersions()
public static java.lang.String[] getId3GenreArray()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |