|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CCResultsFormat>
umontreal.iro.lecuyer.contactcenters.app.CCResultsFormat
public enum CCResultsFormat
Result formats available for
PerformanceMeasureFormat.formatResults(ContactCenterEval,OutputStream,CCResultsFormat)
.
Enum Constant Summary | |
---|---|
EXCEL
Results are formatted to an Excel workbook with three spreadsheets. |
|
LATEXT
Results are written to a LATEX file. |
|
STDOUT
Results are written to the standard output. |
|
TEXT
Results are written to a plain text file. |
|
XML
Results are converted to an instance of ContactCenterSimResults , and
serialized into an XML file. |
|
XMLGZ
Results are converted to an instance of ContactCenterSimResults , and
serialized into an XML file,
and compressed in the GZIP format. |
Method Summary | |
---|---|
static String |
getArgValues()
Formats and returns a string containing the values of this enum, separated by the | character. |
abstract String |
getFileExtension()
Results the file extension corresponding to this format. |
static CCResultsFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CCResultsFormat |
valueOfFromFileExtension(String ext)
Returns the format corresponding to the given file extension ext. |
static CCResultsFormat |
valueOfFromFileName(String name)
Returns the format corresponding to the given file name name. |
static CCResultsFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CCResultsFormat STDOUT
public static final CCResultsFormat TEXT
public static final CCResultsFormat LATEXT
public static final CCResultsFormat XML
ContactCenterSimResults
, and
serialized into an XML file. This results in
an XML file that can be loaded at a later time.
The file extension for this format
is xml.
public static final CCResultsFormat XMLGZ
ContactCenterSimResults
, and
serialized into an XML file,
and compressed in the GZIP format. This results in
an XML file that can be loaded at a later time.
The file extension for this format
is xml.gz.
public static final CCResultsFormat EXCEL
Method Detail |
---|
public static CCResultsFormat[] values()
for (CCResultsFormat c : CCResultsFormat.values()) System.out.println(c);
public static CCResultsFormat valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic abstract String getFileExtension()
public static CCResultsFormat valueOfFromFileName(String name)
valueOfFromFileExtension(String)
.
name
- the file name.
public static CCResultsFormat valueOfFromFileExtension(String ext)
ext
- the file extension.
public static String getArgValues()
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |