|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.tuwien.ifs.somtoolbox.data.AbstractSOMLibTemplateVector
at.tuwien.ifs.somtoolbox.data.SOMLibTemplateVector
at.tuwien.ifs.somtoolbox.database.VectorFile2DatabaseImporter.TemplateVectorImporter
private class VectorFile2DatabaseImporter.TemplateVectorImporter
This class customises the handling of data read from the file by storing it in the DB.
Field Summary | |
---|---|
private MySQLConnector |
dbConnector
|
Fields inherited from class at.tuwien.ifs.somtoolbox.data.AbstractSOMLibTemplateVector |
---|
dim, elementMap, elements, longestStringLength, numInfo, numVectors, templateFileName |
Fields inherited from interface at.tuwien.ifs.somtoolbox.data.TemplateVector |
---|
templateFileNameSuffix |
Constructor Summary | |
---|---|
VectorFile2DatabaseImporter.TemplateVectorImporter(java.lang.String templateFileName,
MySQLConnector dbConnector)
|
Method Summary | |
---|---|
protected void |
processLine(int index,
java.lang.String[] lineElements)
Stores the information read in the database. |
Methods inherited from class at.tuwien.ifs.somtoolbox.data.SOMLibTemplateVector |
---|
readTemplateVectorFile, readTemplateVectorFileHeader, setComponentNames, setLabel |
Methods inherited from class at.tuwien.ifs.somtoolbox.data.AbstractSOMLibTemplateVector |
---|
containsLabel, dim, getDocumentFrequency, getElement, getElement, getIndex, getIndexOfFeature, getLabel, getLabels, getLabelsAsList, getLongestStringLength, getTFxIDFVectorFromTerms, incNumVectors, numinfo, numVectors, setElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private MySQLConnector dbConnector
Constructor Detail |
---|
public VectorFile2DatabaseImporter.TemplateVectorImporter(java.lang.String templateFileName, MySQLConnector dbConnector) throws java.io.IOException
java.io.IOException
Method Detail |
---|
protected void processLine(int index, java.lang.String[] lineElements)
processLine
in class SOMLibTemplateVector
index
- the index (number) of this attributelineElements
- the elements of this line, split by the delimiter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |