as.clynx.interfaces
Class DistanceConnector

java.lang.Object
  extended by as.clynx.interfaces.DistanceConnector
All Implemented Interfaces:
CLynxConnector

public class DistanceConnector
extends java.lang.Object
implements CLynxConnector

The class DistanceConnector.java implements cLynxConnector. it makes tzhe tool beeing able to connect position information and tracks in the STAND-ALONE MODE. Therefore a file containig all distanceinformation with the name 'sample.distance' must be created in the sample directory. if the file does not exist the default position is set to the center (0/0).

Version:
cLynx v.1.2, JDK 6.0: 29.10.2007
Author:
Andreas Senfter - andreas@senfters.com

Constructor Summary
DistanceConnector(java.lang.String sampleDir)
          Constructor for stand-alone GUI mode
DistanceConnector(java.lang.String sampleDir, Constant settings)
          Copnstructor for stand-alone Console mode
 
Method Summary
 java.util.Collection<EvalNode> getNodes()
          passes a collection of all paths and distances of the audiofiles which should be evaluated.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistanceConnector

public DistanceConnector(java.lang.String sampleDir,
                         Constant settings)
                  throws DirectoryNotFoundException,
                         InvalidDistanceFileException
Copnstructor for stand-alone Console mode

Parameters:
sampleDir -
settings -
Throws:
DirectoryNotFoundException
InvalidDistanceFileException

DistanceConnector

public DistanceConnector(java.lang.String sampleDir)
                  throws DirectoryNotFoundException,
                         InvalidDistanceFileException
Constructor for stand-alone GUI mode

Parameters:
sampleDir -
Throws:
DirectoryNotFoundException
InvalidDistanceFileException
Method Detail

getNodes

public java.util.Collection<EvalNode> getNodes()
Description copied from interface: CLynxConnector
passes a collection of all paths and distances of the audiofiles which should be evaluated.

Specified by:
getNodes in interface CLynxConnector
Returns:
a collection of all nodes.