一、使用String.format() String.format( "%-27s\t%-27s\t%s\n", "key:" + key, "value:" + value, "value:" + value)