org.esa.beam.framework.ui.diagram
Class DiagramGraphIO

java.lang.Object
  extended by org.esa.beam.framework.ui.diagram.DiagramGraphIO

public class DiagramGraphIO
extends Object


Field Summary
static BeamFileFilter CSV_FILE_FILTER
           
static String DIAGRAM_GRAPH_IO_LAST_DIR_KEY
           
static BeamFileFilter SPECTRA_CSV_FILE_FILTER
           
 
Constructor Summary
DiagramGraphIO()
           
 
Method Summary
static boolean equalXValues(DiagramGraph g1, DiagramGraph g2)
           
static DiagramGraph[] readGraphs(Component parentComponent, String title, BeamFileFilter[] fileFilters, PropertyMap preferences)
           
static DiagramGraph[] readGraphs(Reader reader)
           
static double[] toDoubles(String[] textRecord)
           
static void writeGraphs(Component parentComponent, String title, BeamFileFilter[] fileFilters, PropertyMap preferences, DiagramGraph[] graphs)
           
static void writeGraphs(DiagramGraph[] graphs, Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CSV_FILE_FILTER

public static final BeamFileFilter CSV_FILE_FILTER

SPECTRA_CSV_FILE_FILTER

public static final BeamFileFilter SPECTRA_CSV_FILE_FILTER

DIAGRAM_GRAPH_IO_LAST_DIR_KEY

public static final String DIAGRAM_GRAPH_IO_LAST_DIR_KEY
See Also:
Constant Field Values
Constructor Detail

DiagramGraphIO

public DiagramGraphIO()
Method Detail

readGraphs

public static DiagramGraph[] readGraphs(Reader reader)
                                 throws IOException
Throws:
IOException

writeGraphs

public static void writeGraphs(DiagramGraph[] graphs,
                               Writer writer)
                        throws IOException
Throws:
IOException

toDoubles

public static double[] toDoubles(String[] textRecord)
                          throws IOException
Throws:
IOException

equalXValues

public static boolean equalXValues(DiagramGraph g1,
                                   DiagramGraph g2)

readGraphs

public static DiagramGraph[] readGraphs(Component parentComponent,
                                        String title,
                                        BeamFileFilter[] fileFilters,
                                        PropertyMap preferences)

writeGraphs

public static void writeGraphs(Component parentComponent,
                               String title,
                               BeamFileFilter[] fileFilters,
                               PropertyMap preferences,
                               DiagramGraph[] graphs)


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.