protected boolean isWhiteSpace(char ch){
  return ((ch == ' ') || (ch == '\n') || (ch == '\t')|| (ch == 10)|| (ch == 13));
}

protected boolean isWhiteSpace ( char ch ) { return ( ( ch == ' ' ) || ( ch == '\n' ) || ( ch == '\t' ) || ( ch == 10 ) || ( ch == 13 ) ) ; }
checks if the specified character is a white space or not . exposed to packaage since used by htmlcomponent as well
