    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class jtelos.StaticHelper

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

public class StaticHelper
extends Object
implements Levels

##

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.
levelToString(int)
  Returns the Telos string corresponding to the level of instantiation indicated by `level` as defined in the interface `Levels`.
removeQuotes(String)
  Removes quotes around the passed string str.
stringToCategories(String)
  This method parses the passed string `commaSeparatedCategories` of comma separated attribute categories, and returns a String array containing the parsed categories.
telosName(Proposition, String[], String, PropositionOrPrimitive)
  Returns the `telosName` of an attribute (as defined in this API) given its declarer, categories, label and target.

##

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

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

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

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

removeQuotes

     public static String removeQuotes(String str)

  Removes quotes around the passed string str.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index