at.tuwien.ifs.somtoolbox.apps.analysis
Class PlaylistAnalysis
java.lang.Object
at.tuwien.ifs.somtoolbox.apps.analysis.PlaylistAnalysis
public class PlaylistAnalysis
- extends java.lang.Object
- Version:
- $Id: PlaylistAnalysis.java 3589 2010-05-21 10:42:01Z mayer $
- Author:
- Jakob Frank
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTIONS
public static final com.martiansoftware.jsap.Parameter[] OPTIONS
inputData
private InputData inputData
outBasename
private java.lang.String outBasename
outDir
private java.io.File outDir
som
private GrowingSOM som
analysers
private java.util.List<PLAnalyser> analysers
headerString
private java.lang.String headerString
map
private MapPNode map
PlaylistAnalysis
public PlaylistAnalysis()
analyse
private void analyse(java.io.File file,
boolean rawVal)
throws java.io.IOException,
MetricException
- Throws:
java.io.IOException
MetricException
analyse
private void analyse(java.io.File[] listFiles,
boolean rawVal)
throws java.io.IOException,
MetricException
- Throws:
java.io.IOException
MetricException
analyseDir
private void analyseDir(java.io.File file,
boolean rawVal)
throws java.io.IOException,
MetricException
- Throws:
java.io.IOException
MetricException
getInputData
public InputData getInputData()
getOutBasename
public java.lang.String getOutBasename()
getOutDir
public java.io.File getOutDir()
getSom
public GrowingSOM getSom()
load
private void load(com.martiansoftware.jsap.JSAPResult params)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMap
public MapPNode getMap()
shutdown
private void shutdown()
printHeader
public void printHeader(java.io.PrintStream ps)
loadPlaylist
private static java.util.List<java.lang.String> loadPlaylist(java.io.File playlist)
throws java.io.FileNotFoundException,
java.io.IOException
- Parameters:
playlist
- Playlist to analize
- Returns:
- List of entries in the Playlist.
- Throws:
java.io.FileNotFoundException
- if the file does not exist, is a directory rather than a regular file, or for some
other reason cannot be opened for reading.
java.io.IOException
- If an I/O error occurs
main
public static void main(java.lang.String[] _args)
- Parameters:
_args
- Command Line parameters.
registerAnalyzer
private void registerAnalyzer(PLAnalyser inputSpaceAnalyser)