Package cds.savot.tools
Class SimpleVoTableTransformer
- java.lang.Object
-
- cds.savot.tools.SimpleVoTableTransformer
-
public final class SimpleVoTableTransformer extends java.lang.Object
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 Constructor Description SimpleVoTableTransformer(char separator)
Public constructor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] argv)
Basic TSV transformerstatic SimpleVoTableTransformer
newCSVTransformer()
static SimpleVoTableTransformer
newTSVTransformer()
-
-
-
Method Detail
-
newCSVTransformer
public static SimpleVoTableTransformer newCSVTransformer()
- Returns:
- new VOTable converter to CSV format
-
newTSVTransformer
public static SimpleVoTableTransformer newTSVTransformer()
- Returns:
- new VOTable converter to TSV format
-
main
public static void main(java.lang.String[] argv)
Basic TSV transformer- Parameters:
argv
- file paths: [inputFile] [outputFile]
-
-