public enum TraceFormat extends Enum<TraceFormat>
| Enum Constant and Description |
|---|
ADDRESS |
ARC |
LIRS |
UMASS_STORAGE |
WIKIPEDIA |
| Modifier and Type | Method and Description |
|---|---|
TraceReader |
readFiles(List<String> filePaths)
Returns a new reader for streaming the events from the trace file.
|
static TraceFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraceFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceFormat ADDRESS
public static final TraceFormat ARC
public static final TraceFormat LIRS
public static final TraceFormat UMASS_STORAGE
public static final TraceFormat WIKIPEDIA
public static TraceFormat[] values()
for (TraceFormat c : TraceFormat.values()) System.out.println(c);
public static TraceFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic TraceReader readFiles(List<String> filePaths)
filePaths - the path to the files in the trace's format