Package cds.savot.tools
Class SimpleVoTableTransformer
java.lang.Object
cds.savot.tools.SimpleVoTableTransformer
Very simple VOTable converter to CSV (comma) or TSV (tab)
but very efficient for large tables (ROWREAD parsing mode: row per row processing)
Designed to use with JSR-173 compliant (Streaming Api for XML)
- Author:
- bourgesl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Basic TSV transformerstatic SimpleVoTableTransformer
static SimpleVoTableTransformer
-
Constructor Details
-
SimpleVoTableTransformer
public SimpleVoTableTransformer(char separator) Public constructor- Parameters:
separator
- any separator character between values
-
-
Method Details
-
newCSVTransformer
- Returns:
- new VOTable converter to CSV format
-
newTSVTransformer
- Returns:
- new VOTable converter to TSV format
-
main
Basic TSV transformer- Parameters:
argv
- file paths: [inputFile] [outputFile]
-