private boolean allIgnorable ( String str ) { // if the string is empty, we can just return true if ( str == null || str . length ( ) == 0 ) { return true ; } RbnfLenientScanner scanner = formatter . getLenientScanner ( ) ; return scanner != null && scanner . allIgnorable ( str ) ; }
Checks to see whether a string consists entirely of ignorable characters .