|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.mojo.ResourceType
org.jomc.mojo.PropertiesResourceType
public class PropertiesResourceType
Datatype describing a properties resource.
Field Summary | |
---|---|
static String |
PLAIN_FORMAT
Constant for the plain properties file format. |
static String |
XML_FORMAT
Constant for the XML properties file format. |
Constructor Summary | |
---|---|
PropertiesResourceType()
Creates a new PropertiesResourceType instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.jomc.mojo.ResourceType |
---|
getConnectTimeout, getLocation, getReadTimeout, isOptional, setConnectTimeout, setLocation, setOptional, setReadTimeout, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PLAIN_FORMAT
public static final String XML_FORMAT
Constructor Detail |
---|
public PropertiesResourceType()
PropertiesResourceType
instance.
Method Detail |
---|
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 ResourceType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |