Java Boolean Value From booleanValue(String tfString)

Here you can find the source of booleanValue(String tfString)

Description

boolean Value

License

Open Source License

Declaration

public static boolean booleanValue(String tfString) 

Method Source Code

//package com.java2s;

public class Main {

    public static boolean booleanValue(String tfString) {
        String trimmed = tfString.trim().toLowerCase();
        return trimmed.equals("true") || trimmed.equals("t");
    }/*from www. j  a v a 2s  .  c om*/
}

Related

  1. booleanValue(String s)
  2. booleanValue(String s)
  3. booleanValue(String stringValue)
  4. booleanValue(String tfString)
  5. booleanValue(String tfString)
  6. booleanValueOf(boolean b)
  7. booleanValueOf(Object obj)
  8. booleanValueWithYN(String string)
  9. convertBoolean(Boolean convertedValue, boolean defaultValue)