Class BooleanParser


  • public final class BooleanParser
    extends Object
    BooleanParser is a simple static class supplying a method to parse booleans.
    Author:
    Uwe Schindler
    • Method Detail

      • parseBoolean

        public static boolean parseBoolean​(String v)
        Parses a boolean value expressed as String
        Throws:
        IllegalArgumentException - if uppercase v is not "TRUE", "YES", "ON", "FALSE", "NO", "OFF"