Here you can find the source of convertStringToBoolean(String pValue)
Parameter | Description |
---|---|
pValue | a parameter |
public static boolean convertStringToBoolean(String pValue)
//package com.java2s; //License from project: Open Source License public class Main { /**/*from w w w . j a v a2s . co m*/ * @param pValue * @return */ public static boolean convertStringToBoolean(String pValue) { boolean returnValue = false; if ("T".equals(pValue)) { returnValue = true; } return returnValue; } }