|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Script.MySQL2Txt
public class MySQL2Txt
Script for extracting feature data from a MySQL DB on a text file (used for creating a feature index).
Field Summary | |
---|---|
protected java.lang.String |
filename
The path of the text file |
Constructor Summary | |
---|---|
MySQL2Txt(java.lang.String path)
Basic constructor. |
Method Summary | |
---|---|
boolean |
createImageIndexFile(FeatureManager.WindsurfFeatureManagerMySQL fm)
Extract image features from a MySQL DB to a text file. |
boolean |
createRegionIndexFile(FeatureManager.WindsurfFeatureManagerMySQL fm)
Extract region features from a MySQL DB to a text file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String filename
Constructor Detail |
---|
public MySQL2Txt(java.lang.String path)
path
- Path of the text file where features will be saved.Method Detail |
---|
public boolean createImageIndexFile(FeatureManager.WindsurfFeatureManagerMySQL fm)
fm
- The Feature Manager where features are to be extracted.
true
if the text file was successfully created, false
otherwise.public boolean createRegionIndexFile(FeatureManager.WindsurfFeatureManagerMySQL fm)
fm
- The Feature Manager where features are to be extracted.
true
if the text file was successfully created, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |