public enum StreamFileType extends Enum<StreamFileType>
| Modifier and Type | Method and Description |
|---|---|
String |
getSuffix() |
static StreamFileType |
getType(String fileName) |
boolean |
isMatched(String fileName) |
static boolean |
isMatched(String fileName,
StreamFileType type) |
static StreamFileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamFileType EVENT
public static final StreamFileType INDEX
public static StreamFileType[] values()
for (StreamFileType c : StreamFileType.values()) System.out.println(c);
public static StreamFileType 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 boolean isMatched(String fileName)
public String getSuffix()
public static boolean isMatched(String fileName, StreamFileType type)
public static StreamFileType getType(String fileName)
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.