|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.search.core.extractor.Extractor
public class Extractor
Constructor Summary | |
---|---|
Extractor(PrintWriter writer,
String name,
String file,
String registryUrl,
int queryMax)
Initialize global variables used throughout |
Method Summary | |
---|---|
List |
extract(File extractorDir)
(non-Javadoc) |
boolean |
isCleanedAttr(String s1)
|
void |
printFileFooter()
Display the footer for the XML file. |
void |
printFileHeader()
Display the header for the XML file. |
void |
printXml(String name,
String value,
boolean clean)
Display the field name and value in XML format. |
String |
remNull(String s1)
Remove String Nulls |
String |
repAllCharWStr(String s1)
Replace HTML entities & with &, < with <, > with >, and " with " |
String |
repCharWStr(String str1,
char rc,
String rstr)
Replace character with string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Extractor(PrintWriter writer, String name, String file, String registryUrl, int queryMax)
name
- - class of catalog to be extractedvalue
- - name of column properties fileMethod Detail |
---|
public List extract(File extractorDir) throws ExtractionException
ExtractionException
gov.nasa.pds.tse.catalog.Extractor#extract()
public void printFileHeader()
public void printFileFooter()
public void printXml(String name, String value, boolean clean)
name
- - name of fieldvalue
- - value for specific recordpublic String repAllCharWStr(String s1)
public String remNull(String s1)
public String repCharWStr(String str1, char rc, String rstr)
public boolean isCleanedAttr(String s1)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |