Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273564

(props) add overload of store() that doesn't add any comments

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • None
    • None
    • core-libs
    • None

    Description

      The current store() methods unconditionally add comments and timestamps. It would be useful to have an overload or another method that writes the properties without adding any comments. This could be as simple as

          void store(Writer writer)

      This would allow the caller to write additional information before or after the call. The properties would be written in String sorted order (which is not locale specific). The line terminators used will need to be determined. Also consider returning the Properties instance to facilitate chaining.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smarks Stuart Marks
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: