private String readIdentifier ( ) throws IOException { StringBuffer sb = new StringBuffer ( ) ; while ( ( - 1 != lastChar ) && Character . isLetter ( ( char ) lastChar ) ) { sb . append ( ( char ) lastChar ) ; readChar ( ) ; } return sb . toString ( ) ; }
Method to read a partular character string . only really need to handle null true and false