Package org.esa.snap.ui.diagram
Class DiagramGraphIO
java.lang.Object
org.esa.snap.ui.diagram.DiagramGraphIO
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SnapFileFilterstatic final Stringstatic final SnapFileFilter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanequalXValues(DiagramGraph g1, DiagramGraph g2) static DiagramGraph[]readGraphs(Component parentComponent, String title, SnapFileFilter[] fileFilters, PropertyMap preferences) static DiagramGraph[]readGraphs(Reader reader) static double[]static voidwriteGraphs(Component parentComponent, String title, SnapFileFilter[] fileFilters, PropertyMap preferences, DiagramGraph[] graphs) static voidwriteGraphs(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)
-