Package cds.savot.tools
Class SimpleVoTableTransformer
- java.lang.Object
-
- cds.savot.tools.SimpleVoTableTransformer
-
public final class SimpleVoTableTransformer extends java.lang.ObjectVery 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 voidmain(java.lang.String[] argv)Basic TSV transformerstatic SimpleVoTableTransformernewCSVTransformer()static SimpleVoTableTransformernewTSVTransformer()
-
-
-
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]
-
-