org.jomc.ant.types
Enum PropertiesFormatType

Package class diagram package PropertiesFormatType
java.lang.Object
  extended by java.lang.Enum<PropertiesFormatType>
      extended by org.jomc.ant.types.PropertiesFormatType
All Implemented Interfaces:
Serializable, Comparable<PropertiesFormatType>

public enum PropertiesFormatType
extends Enum<PropertiesFormatType>

Enumeration of Java properties file formats.

Version:
$JOMC: PropertiesFormatType.java 3838 2011-10-08 20:15:41Z schulte2005 $
Author:
Christian Schulte

Enum Constant Summary
PLAIN
          Plain format.
XML
          XML format.
 
Method Summary
static PropertiesFormatType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PropertiesFormatType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PLAIN

public static final PropertiesFormatType PLAIN
Plain format.


XML

public static final PropertiesFormatType XML
XML format.

Method Detail

values

public static PropertiesFormatType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PropertiesFormatType c : PropertiesFormatType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PropertiesFormatType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.