public class PlaylistAnalysis extends Object
Modifier and Type | Field and Description |
---|---|
private List<PLAnalyser> |
analysers |
private String |
headerString |
private InputData |
inputData |
private MapPNode |
map |
static com.martiansoftware.jsap.Parameter[] |
OPTIONS |
private String |
outBasename |
private File |
outDir |
private GrowingSOM |
som |
Constructor and Description |
---|
PlaylistAnalysis() |
Modifier and Type | Method and Description |
---|---|
private void |
analyse(File[] listFiles,
boolean rawVal) |
private void |
analyse(File file,
boolean rawVal) |
private void |
analyseDir(File file,
boolean rawVal) |
InputData |
getInputData() |
MapPNode |
getMap() |
String |
getOutBasename() |
File |
getOutDir() |
GrowingSOM |
getSom() |
private void |
load(com.martiansoftware.jsap.JSAPResult params) |
private static List<String> |
loadPlaylist(File playlist) |
static void |
main(String[] _args) |
void |
printHeader(PrintStream ps) |
private void |
registerAnalyzer(PLAnalyser inputSpaceAnalyser) |
private void |
shutdown() |
public static final com.martiansoftware.jsap.Parameter[] OPTIONS
private InputData inputData
private String outBasename
private File outDir
private GrowingSOM som
private List<PLAnalyser> analysers
private String headerString
private MapPNode map
private void analyse(File file, boolean rawVal) throws IOException, MetricException
IOException
MetricException
private void analyse(File[] listFiles, boolean rawVal) throws IOException, MetricException
IOException
MetricException
private void analyseDir(File file, boolean rawVal) throws IOException, MetricException
IOException
MetricException
public InputData getInputData()
public String getOutBasename()
public File getOutDir()
public GrowingSOM getSom()
private void load(com.martiansoftware.jsap.JSAPResult params) throws Exception
Exception
public MapPNode getMap()
private void shutdown()
public void printHeader(PrintStream ps)
private static List<String> loadPlaylist(File playlist) throws FileNotFoundException, IOException
playlist
- Playlist to analizeFileNotFoundException
- if the file does not exist, is a directory rather than a regular file, or for some
other reason cannot be opened for reading.IOException
- If an I/O error occurspublic static void main(String[] _args)
_args
- Command Line parameters.private void registerAnalyzer(PLAnalyser inputSpaceAnalyser)