public static String padRightAligned(String o,int len){
  if (o.length() >= len) {
    return o;
  }
  return whitespace(len - o.length()) + o;
}

public static String padRightAligned ( String o , int len ) { if ( o . length ( ) >= len ) { return o ; } return whitespace ( len - o . length ( ) ) + o ; }
pad a string to a given length by adding whitespace to the left .
