Package org.esa.snap.ui.diagram
Class DiagramGraphIO
java.lang.Object
org.esa.snap.ui.diagram.DiagramGraphIO
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SnapFileFilter
static final String
static final SnapFileFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
equalXValues
(DiagramGraph g1, DiagramGraph g2) static DiagramGraph[]
readGraphs
(Component parentComponent, String title, SnapFileFilter[] fileFilters, PropertyMap preferences) static DiagramGraph[]
readGraphs
(Reader reader) static double[]
static void
writeGraphs
(Component parentComponent, String title, SnapFileFilter[] fileFilters, PropertyMap preferences, DiagramGraph[] graphs) static void
writeGraphs
(DiagramGraph[] graphs, Writer writer)
-
Field Details
-
CSV_FILE_FILTER
-
SPECTRA_CSV_FILE_FILTER
-
DIAGRAM_GRAPH_IO_LAST_DIR_KEY
- See Also:
-
-
Constructor Details
-
DiagramGraphIO
public DiagramGraphIO()
-
-
Method Details
-
readGraphs
- Throws:
IOException
-
writeGraphs
- Throws:
IOException
-
toDoubles
- Throws:
IOException
-
equalXValues
-
readGraphs
public static DiagramGraph[] readGraphs(Component parentComponent, String title, SnapFileFilter[] fileFilters, PropertyMap preferences) -
writeGraphs
public static void writeGraphs(Component parentComponent, String title, SnapFileFilter[] fileFilters, PropertyMap preferences, DiagramGraph[] graphs)
-