public static String formatPropertiesOld(String name,TungstenProperties props,String header,boolean wasModified){
  String indent="  ";
  StringBuilder builder=new StringBuilder();
  builder.append(header);
  builder.append(String.format("%s%s\n",name,modifiedSign(wasModified)));
  builder.append("{\n");
  Map<String,String> propMap=props.hashMap();
  for (  String key : propMap.keySet()) {
    builder.append(String.format("%s%s = %s\n",indent,key,propMap.get(key)));
  }
  builder.append(String.format("}"));
  return builder.toString();
}

public static String formatPropertiesOld ( String name , TungstenProperties props , String header , boolean wasModified ) { String indent = "  " ; StringBuilder builder = new StringBuilder ( ) ; builder . append ( header ) ; builder . append ( String . format ( "%s%s\n" , name , modifiedSign ( wasModified ) ) ) ; builder . append ( "{\n" ) ; Map < String , String > propMap = props . hashMap ( ) ; for ( String key : propMap . keySet ( ) ) { builder . append ( String . format ( "%s%s = %s\n" , indent , key , propMap . get ( key ) ) ) ; } builder . append ( String . format ( "}" ) ) ; return builder . toString ( ) ; }
does a generic format of a tungstenproperties instance .
