public class SOMLibDataInformation extends Object
InputData
input vectors. For example, if the input
vectors have IDs as labels, this file can specify descriptive labels.Created on Nov 22, 2004
Modifier and Type | Field and Description |
---|---|
private String |
baseDir |
private Hashtable<String,String> |
dataDisplayNames |
private String |
dataInformationFileName |
private Hashtable<String,String> |
dataLocations |
private int |
numData |
Constructor and Description |
---|
SOMLibDataInformation() |
SOMLibDataInformation(String fileName) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(String label,
String displayName,
String location) |
String |
getBaseDir() |
String |
getDataDisplayName(String name) |
String |
getDataLocation(String name) |
static void |
main(String[] args)
Method for standalone execution to test a data information file.
|
private void |
readDataInformationFileHeader(BufferedReader br) |
void |
writeToFile(String fileName)
Writes the class information to a file.
|
private String dataInformationFileName
private String baseDir
private int numData
public SOMLibDataInformation()
public SOMLibDataInformation(String fileName) throws FileNotFoundException, SOMToolboxException
private void readDataInformationFileHeader(BufferedReader br) throws IOException
IOException
public void writeToFile(String fileName) throws IOException, SOMLibFileFormatException
IOException
SOMLibFileFormatException
public String getBaseDir()
public static void main(String[] args)