public class DiagramGraphIO extends Object
Modifier and Type | Field and Description |
---|---|
static SnapFileFilter |
CSV_FILE_FILTER |
static String |
DIAGRAM_GRAPH_IO_LAST_DIR_KEY |
static SnapFileFilter |
SPECTRA_CSV_FILE_FILTER |
Constructor and Description |
---|
DiagramGraphIO() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equalXValues(DiagramGraph g1,
DiagramGraph g2) |
static DiagramGraph[] |
readGraphs(Component parentComponent,
String title,
SnapFileFilter[] fileFilters,
PropertyMap preferences) |
static DiagramGraph[] |
readGraphs(Reader reader) |
static double[] |
toDoubles(String[] textRecord) |
static void |
writeGraphs(Component parentComponent,
String title,
SnapFileFilter[] fileFilters,
PropertyMap preferences,
DiagramGraph[] graphs) |
static void |
writeGraphs(DiagramGraph[] graphs,
Writer writer) |
public static final SnapFileFilter CSV_FILE_FILTER
public static final SnapFileFilter SPECTRA_CSV_FILE_FILTER
public static final String DIAGRAM_GRAPH_IO_LAST_DIR_KEY
public static DiagramGraph[] readGraphs(Reader reader) throws IOException
IOException
public static void writeGraphs(DiagramGraph[] graphs, Writer writer) throws IOException
IOException
public static double[] toDoubles(String[] textRecord) throws IOException
IOException
public static boolean equalXValues(DiagramGraph g1, DiagramGraph g2)
public static DiagramGraph[] readGraphs(Component parentComponent, String title, SnapFileFilter[] fileFilters, PropertyMap preferences)
public static void writeGraphs(Component parentComponent, String title, SnapFileFilter[] fileFilters, PropertyMap preferences, DiagramGraph[] graphs)
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.