Java Boolean From toBoolean(String value)

Here you can find the source of toBoolean(String value)

Description

to Boolean

License

Apache License

Declaration

public static boolean toBoolean(String value) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static boolean toBoolean(String value) {
        if (value.equalsIgnoreCase("true")) {
            return true;
        }/* www.  j av  a  2s .  co m*/
        return false;
    }
}

Related

  1. toBoolean(String val)
  2. toBoolean(String value)
  3. toBoolean(String value)
  4. toBoolean(String value)
  5. toBoolean(String value)
  6. toBoolean(String value)
  7. toBoolean(String value)
  8. toBoolean(String value, boolean _default)
  9. toBoolean(String value, boolean dEfault)