-
Notifications
You must be signed in to change notification settings - Fork 981
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…-use-current-configuration Feature/#129/fix png export to use current configuration
- Loading branch information
Showing
6 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
* @author <a href="mailto:[email protected]">Hendrik Schreiber</a> | ||
*/ | ||
public class DataWriterFactory { | ||
public static final String GC_PREFERENCES = "gcPreferences"; | ||
|
||
/** | ||
* Standard factory method to retrieve one of the <code>DataWriter</code> implementations. | ||
|
@@ -53,7 +54,7 @@ public static DataWriter getDataWriter(File file, DataWriterType type, Map<Strin | |
case CSV_TS : return new CSVTSDataWriter(outputStream); | ||
case SIMPLE : return new SimpleGcWriter(outputStream); | ||
case SUMMARY : return new SummaryDataWriter(outputStream, configuration); | ||
case PNG : return new PNGDataWriter(outputStream); | ||
case PNG : return new PNGDataWriter(outputStream, configuration); | ||
default : throw new IOException(LocalisationHelper.getString("datawriterfactory_instantiation_failed") + " " + file); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters