protected static enum AbstractPropertyReader.PropertyType extends Enum<AbstractPropertyReader.PropertyType>
| Enum Constant and Description |
|---|
properties |
xml |
| Modifier and Type | Method and Description |
|---|---|
private static boolean |
isValid(String propertyFileName,
AbstractPropertyReader.PropertyType type)
Check for property is xml.
|
static AbstractPropertyReader.PropertyType |
value(String propertyFileName)
Check for allowed property format.
|
static AbstractPropertyReader.PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractPropertyReader.PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractPropertyReader.PropertyType xml
public static final AbstractPropertyReader.PropertyType properties
private static final String DELIMETER
public static AbstractPropertyReader.PropertyType[] values()
for (AbstractPropertyReader.PropertyType c : AbstractPropertyReader.PropertyType.values()) System.out.println(c);
public static AbstractPropertyReader.PropertyType 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 AbstractPropertyReader.PropertyType value(String propertyFileName)
propertyFileName - private static boolean isValid(String propertyFileName, AbstractPropertyReader.PropertyType type)
propertyFileName - Copyright © 2015. All Rights Reserved.