Package de.saar.chorus.newubench
Class FileUtilities
java.lang.Object
de.saar.chorus.newubench.FileUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangenericLoadGraph(Reader reader, InputCodec inputCodec, DomGraph graph, NodeLabels nl) Loads a labelled dominance graph from a reader.static FilegetFileFromExportFileChooser(List<de.saar.basic.GenericFileFilter> fileFilters, Map<String, String> options) static FilegetFileFromOpenFileChooser(List<de.saar.basic.GenericFileFilter> fileFilters, Map<String, String> options)
-
Constructor Details
-
FileUtilities
public FileUtilities()
-
-
Method Details
-
genericLoadGraph
public static boolean genericLoadGraph(Reader reader, InputCodec inputCodec, DomGraph graph, NodeLabels nl) Loads a labelled dominance graph from a reader.- Parameters:
reader- the Reader from which the graph is readcodec- the name of the input codec that should be used to decode the graphgraph- aDomGraphwhich this method sets to the dominance graph part of the labelled graphnl- aNodeLabelsobject which this method fills with the node labelling part of the labelled graph- Returns:
- a new
JDomGraphrepresentation for the labelled graph
-
getFileFromExportFileChooser
-
getFileFromOpenFileChooser
-