adams.env
Class TwitterDefinition

java.lang.Object
  extended by adams.env.AbstractPropertiesDefinition
      extended by 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.
 
Constructor Summary
TwitterDefinition()
           
 
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 adams.env.AbstractPropertiesDefinition
add, add, add, createPath, createPath, getAlternativeExtension, hasAlternativeExtension, replace, replace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final String KEY
the key as constant.

See Also:
Constant Field Values
Constructor Detail

TwitterDefinition

public TwitterDefinition()
Method Detail

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.