Package adams.env
Class WineDefinition
- java.lang.Object
-
- adams.env.AbstractPropertiesDefinition
-
- adams.env.WineDefinition
-
- All Implemented Interfaces:
Serializable
public class WineDefinition extends AbstractPropertiesDefinition
Definition for the wine props file.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WineDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFile()
Returns the properties file name (no path) this definition is for.String
getKey()
Returns the key this definition is for.void
update(AbstractEnvironment env)
Updates the environment object with its definition for the props file (whether to add/replace/etc the values).-
Methods inherited from class adams.env.AbstractPropertiesDefinition
add, add, add, createPath, createPath, getAlternativeExtension, hasAlternativeExtension, replace, replace, toString
-
-
-
-
Field Detail
-
KEY
public static final String KEY
the key as constant.- See Also:
- Constant Field Values
-
-
Method Detail
-
getKey
public String getKey()
Returns the key this definition is for.- Specified by:
getKey
in classAbstractPropertiesDefinition
- Returns:
- the key
-
getFile
public String getFile()
Returns the properties file name (no path) this definition is for.- Specified by:
getFile
in classAbstractPropertiesDefinition
- Returns:
- the key
-
update
public void update(AbstractEnvironment env)
Updates the environment object with its definition for the props file (whether to add/replace/etc the values).- Specified by:
update
in classAbstractPropertiesDefinition
- Parameters:
env
- the environment object to update
-
-