public class

FrameworkCustomization

extends Object
implements HtcCustomization
java.lang.Object
   ↳ com.htc.customization.FrameworkCustomization

Summary

Public Methods
List<Boolean> getBoolList(String key)
Get the Boolean values related to the key.
boolean getBoolValue(String key)
Get one boolean primitive value related to the key.
boolean getBoolValue(String key, boolean defaultValue)
Get one boolean primitive value related to the key.
static HtcCustomization getInstance()
List<Integer> getIntList(String key)
Get the Integer values related to the key.
int getIntValue(String key, int defaultValue)
Get one int primitive value related to the key.
int getIntValue(String key)
Get one int primitive value related to the key.
List<String> getStringList(String key)
Get the String values related to the key.
String getStringValue(String key, String defaultValue)
Get one String value related to the key.
String getStringValue(String key)
Get one String value related to the key.
void setTestMode(boolean testMode)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.htc.customization.HtcCustomization

Public Methods

public List<Boolean> getBoolList (String key)

Get the Boolean values related to the key.

Parameters
key the predefined formatted string used to retrieve the related values. The format of the string may look like A.B.C.D...
Returns
  • a List containing the Boolean values related to the key.

public boolean getBoolValue (String key)

Get one boolean primitive value related to the key.

Parameters
key the predefined formatted string used to retrieve the related values. The format of the string may look like A.B.C.D...
Returns
  • the value related to the key

public boolean getBoolValue (String key, boolean defaultValue)

Get one boolean primitive value related to the key.

Parameters
key the predefined formatted string used to retrieve the related values. The format of the string may look like A.B.C.D...
defaultValue used to be the return value if there is no value related to the key.
Returns
  • the value related to the key, if it exists. Otherwise, return the defaultValue.

public static HtcCustomization getInstance ()

public List<Integer> getIntList (String key)

Get the Integer values related to the key.

Parameters
key the predefined formatted string used to retrieve the related values. The format of the string may look like A.B.C.D...
Returns
  • a List containing the Integer values related to the key.

public int getIntValue (String key, int defaultValue)

Get one int primitive value related to the key.

Parameters
key the predefined formatted string used to retrieve the related values. The format of the string may look like A.B.C.D...
defaultValue used to be the return value if there is no value related to the key.
Returns
  • the value related to the key, if it exists. Otherwise, return the defaultValue.

public int getIntValue (String key)

Get one int primitive value related to the key.

Parameters
key the predefined formatted string used to retrieve the related values. The format of the string may look like A.B.C.D...
Returns
  • the value related to the key

public List<String> getStringList (String key)

Get the String values related to the key.

Parameters
key the predefined formatted string used to retrieve the related values. The format of the string may look like A.B.C.D...
Returns
  • a List containing the String values related to the key.

public String getStringValue (String key, String defaultValue)

Get one String value related to the key.

Parameters
key the predefined formatted string used to retrieve the related values. The format of the string may look like A.B.C.D...
defaultValue used to be the return value if there is no value related to the key.
Returns
  • the value related to the key, if it exists. Otherwise, return the defaultValue.

public String getStringValue (String key)

Get one String value related to the key.

Parameters
key the predefined formatted string used to retrieve the related values. The format of the string may look like A.B.C.D...
Returns
  • the value related to the key

public void setTestMode (boolean testMode)