public enum ChronicleReader extends Enum<ChronicleReader>
Modifier and Type | Method and Description |
---|---|
static void |
main(String... args) |
static void |
tailFileFrom(String basePath,
String regex,
long index,
boolean stopAtEnd) |
static ChronicleReader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChronicleReader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ChronicleReader[] values()
for (ChronicleReader c : ChronicleReader.values()) System.out.println(c);
public static ChronicleReader 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 static void main(String... args) throws IOException, InterruptedException
IOException
InterruptedException
public static void tailFileFrom(String basePath, String regex, long index, boolean stopAtEnd) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2016. All rights reserved.