com.triangularpixels.rebirth.resources.coredecoders
Class BooleanDecoder.Attribute

java.lang.Object
  extended by 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.


Constructor Summary
BooleanDecoder.Attribute()
           
 
Method Summary
static boolean decode(String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanDecoder.Attribute

public BooleanDecoder.Attribute()
Method Detail

decode

public static boolean decode(String str)


Copyright © 2009 TriangularPixels.com. All Rights Reserved.