Revision 104,
656 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package simulator.stats.implementation.out; |
---|
2 | |
---|
3 | import java.text.NumberFormat; |
---|
4 | import java.util.HashSet; |
---|
5 | import java.util.Set; |
---|
6 | |
---|
7 | public abstract class AbstractStringSerializer implements StatsSerializer { |
---|
8 | |
---|
9 | protected boolean useExtended = true; |
---|
10 | protected String fieldSeparator = ";"; |
---|
11 | protected NumberFormat defaultNumberFormat; |
---|
12 | protected Set<String> printedHeaders = new HashSet<String>(); |
---|
13 | |
---|
14 | public void useExtendedOutput(boolean arg){ |
---|
15 | this.useExtended = arg; |
---|
16 | } |
---|
17 | |
---|
18 | public void setFieldSeparator(String separator){ |
---|
19 | this.fieldSeparator = separator; |
---|
20 | } |
---|
21 | |
---|
22 | public void setDefaultNumberFormat(NumberFormat value){ |
---|
23 | this.defaultNumberFormat = value; |
---|
24 | } |
---|
25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.