private void appendTrimmed(final String s){
  boolean skip=true;
  for (int i=0; i < s.length(); i++) {
    final char c=s.charAt(i);
    if (c != ' ') {
      skip=false;
    }
    if (!skip) {
      append(c);
    }
  }
}

private void appendTrimmed ( final String s ) { boolean skip = true ; for ( int i = 0 ; i < s . length ( ) ; i ++ ) { final char c = s . charAt ( i ) ; if ( c != ' ' ) { skip = false ; } if ( ! skip ) { append ( c ) ; } } }
appends a string , but skipping any leading space characters .
