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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated: