|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthings.common.tools.Plato
public class Plato
Plato and truth.
Version History
EPG - Initial - 28 NOV 06
| Field Summary | |
|---|---|
static java.lang.String |
FALSE_STRING
|
static java.lang.String |
TRUE_STRING
|
| Constructor Summary | |
|---|---|
Plato()
|
|
| Method Summary | |
|---|---|
static boolean |
decideTruth(java.lang.String target)
Decide truth. |
static boolean |
decideTruth(java.lang.String target,
boolean defaultValue)
Decide truth only if target is not null and is one or more characters (any value). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TRUE_STRING
public static final java.lang.String FALSE_STRING
| Constructor Detail |
|---|
public Plato()
| Method Detail |
|---|
public static boolean decideTruth(java.lang.String target,
boolean defaultValue)
target - The statement to examine. This will be treated like a 7-bit ascii string!defaultValue - the default value.
public static boolean decideTruth(java.lang.String target)
target - The statement to examine. This will be treated like a 7-bit ascii string!
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||