adams.env
Class TwitterDefinition
java.lang.Object
adams.env.AbstractPropertiesDefinition
adams.env.TwitterDefinition
- All Implemented Interfaces:
- Serializable
public class TwitterDefinition
- extends AbstractPropertiesDefinition
Definition for the Twitter props file.
- Version:
- $Revision: 7103 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
|
Field Summary |
static String |
KEY
the key as constant. |
|
Method Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY
public static final String KEY
- the key as constant.
- See Also:
- Constant Field Values
TwitterDefinition
public TwitterDefinition()
getKey
public String getKey()
- Returns the key this definition is for.
- Specified by:
getKey in class AbstractPropertiesDefinition
- Returns:
- the key
getFile
public String getFile()
- Returns the properties file name (no path) this definition is for.
- Specified by:
getFile in class AbstractPropertiesDefinition
- 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 class AbstractPropertiesDefinition
- Parameters:
env - the environment object to update
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.