def to_s
      string = ""
      # Sort to make testing easier -> output will consistent
      @props.sort_by do |key,val|
        key.to_s
      end.each do |key,val|
	string << Encoding.encode(key.to_s) << "=" << Encoding.encode(val) << "\n"
      end
      string
    end
def to_s
      string = ""
      # Sort to make testing easier -> output will consistent
      @props.sort_by do |key,val|
        key.to_s
      end.each do |key,val|
	string << Encoding.encode(key.to_s) << "=" << Encoding.encode(val) << "\n"
      end
      string
    end
Converts the properties contained in this object into a
 string that can be saved directly as a Java properties
 file.