|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.mp3dings.export.AbstractExporter
net.sourceforge.mp3dings.export.SansaPLAExporter
public class SansaPLAExporter
Exports data as an M3u playlist.
| Constructor Summary | |
|---|---|
SansaPLAExporter()
Creates a new SansaPLAExporter. |
|
| Method Summary | |
|---|---|
String |
getBlock(int fileIndex,
Map blockdata)
Returns a line making up one playlist entry. |
String |
getExtension()
Returns the file extension for this exporter's target file type. |
String |
getFooter(int numEntries)
Returns an empty string. |
String |
getHeader()
Returns the three CRLF-terminated header lines: PLP PLAYLIST VERSION 1.20 |
String |
getName()
Returns a string description of this exporter's target file type. |
void |
setKeys(Object[] headerKeys,
Object[] blockKeys,
Object[] footerKeys)
Overriden to do nothing. |
| Methods inherited from class net.sourceforge.mp3dings.export.AbstractExporter |
|---|
export, export, getBlockKeys, getFileFallback, getFileFilter, getFooterData, getFooterKeys, getHeaderData, getHeaderKeys, getImplementations, getKeys, getNumberOfEntries, setEncoding, setFileFallback, setFooterData, setHeaderData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SansaPLAExporter()
| Method Detail |
|---|
public String getBlock(int fileIndex,
Map blockdata)
HARP, path\to\file.mp3
getBlock in class AbstractExporterfileIndex - ignoredblockdata - a map containing the record dataAbstractExporter.export(Object[] keys, Object[][] data)public String getHeader()
PLP PLAYLIST
VERSION 1.20
getHeader in class AbstractExporterpublic String getFooter(int numEntries)
getFooter in class AbstractExporterpublic String getName()
getName in interface ExportergetName in class AbstractExporterpublic String getExtension()
getExtension in class AbstractExporter
public void setKeys(Object[] headerKeys,
Object[] blockKeys,
Object[] footerKeys)
FULLPATH as blockKey.
setKeys in class AbstractExporterheaderKeys - the fields for the headerblockKeys - the fields for the main sectionfooterKeys - the fields for the footerAbstractExporter.getKeys()
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||