com.triangularpixels.rebirth.resources.coredecoders
Class BooleanDecoder.Attribute
java.lang.Object
com.triangularpixels.rebirth.resources.coredecoders.BooleanDecoder.Attribute
- Enclosing class:
- BooleanDecoder
public static class BooleanDecoder.Attribute
- extends Object
Boolean decoder allows not just for true/false but also yes/no and on/off.
Attributes are case insensitive, and any unrecognised text decodes to false.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanDecoder.Attribute
public BooleanDecoder.Attribute()
decode
public static boolean decode(String str)
Copyright © 2009 TriangularPixels.com. All Rights Reserved.