
public class PropertiesResourceType extends ResourceType
| Modifier and Type | Field and Description |
|---|---|
static String |
PLAIN_FORMAT
Constant for the plain properties file format.
|
static String |
XML_FORMAT
Constant for the XML properties file format.
|
| Constructor and Description |
|---|
PropertiesResourceType()
Creates a new
PropertiesResourceType instance. |
| Modifier and Type | Method and Description |
|---|---|
PropertiesResourceType |
clone()
Creates and returns a copy of this object.
|
String |
getFormat()
Gets the value of the
format property. |
static List<String> |
getSupportedFormats()
Gets a list holding supported format values.
|
static boolean |
isFormatSupported(String value)
Tests a given format value.
|
void |
setFormat(String value)
Sets the value of the
format property. |
getConnectTimeout, getLocation, getReadTimeout, isOptional, setConnectTimeout, setLocation, setOptional, setReadTimeout, toStringpublic static final String PLAIN_FORMAT
public static final String XML_FORMAT
public PropertiesResourceType()
PropertiesResourceType instance.public final String getFormat()
format property.format property.public final void setFormat(String value)
format property.value - The new value of the format property or null.public static List<String> getSupportedFormats()
isFormatSupported(java.lang.String)public static boolean isFormatSupported(String value)
value - The format value to test.true, if the given format value is supported; false, if the given format value is not
supported.getSupportedFormats()public PropertiesResourceType clone()
clone in class ResourceTypeCopyright © 2005–2016 The JOMC Project. All rights reserved.