All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jtelos.StaticHelper

java.lang.Object
   |
   +----jtelos.StaticHelper

public class StaticHelper
extends Object
implements Levels

Method Index

 o categoriesToString(String[])
This method converts the passed String array categories of attribute categories into a single string listing the categories, each category separated from the other by a comma.
 o levelToString(int)
Returns the Telos string corresponding to the level of instantiation indicated by level as defined in the interface Levels.
 o removeQuotes(String)
Removes quotes around the passed string str.
 o stringToCategories(String)
This method parses the passed string commaSeparatedCategories of comma separated attribute categories, and returns a String array containing the parsed categories.
 o telosName(Proposition, String[], String, PropositionOrPrimitive)
Returns the telosName of an attribute (as defined in this API) given its declarer, categories, label and target.

Methods

 o levelToString
 public static String levelToString(int level)
Returns the Telos string corresponding to the level of instantiation indicated by level as defined in the interface Levels.

See Also:
Levels
 o categoriesToString
 public static String categoriesToString(String categories[])
This method converts the passed String array categories of attribute categories into a single string listing the categories, each category separated from the other by a comma.

See Also:
stringToCategories
 o stringToCategories
 public static String[] stringToCategories(String commaSeparatedCategories)
This method parses the passed string commaSeparatedCategories of comma separated attribute categories, and returns a String array containing the parsed categories.

See Also:
categoriesToString
 o telosName
 public static String telosName(Proposition declarer,
                                String categories[],
                                String label,
                                PropositionOrPrimitive target)
Returns the telosName of an attribute (as defined in this API) given its declarer, categories, label and target. It should return the same result as invoking the telosName() method on the corresponding attribute.

See Also:
telosName
 o removeQuotes
 public static String removeQuotes(String str)
Removes quotes around the passed string str.


All Packages  Class Hierarchy  This Package  Previous  Next  Index