public static StringBuilder appendSpace(StringBuilder buf,int spaces){
  for (int i=spaces; i > 0; i-=SPACEPADDING.length) {
    buf.append(SPACEPADDING,0,i < SPACEPADDING.length ? i : SPACEPADDING.length);
  }
  return buf;
}

public static StringBuilder appendSpace ( StringBuilder buf , int spaces ) { for ( int i = spaces ; i > 0 ; i -= SPACEPADDING . length ) { buf . append ( SPACEPADDING , 0 , i < SPACEPADDING . length ? i : SPACEPADDING . length ) ; } return buf ; }
append whitespace to a buffer .
