Class OrderedProperties

    • Constructor Detail

      • OrderedProperties

        public OrderedProperties()
    • Method Detail

      • store

        public void store​(OutputStream out,
                          String header)
                   throws IOException
        Overrides the original store() method and sorts the output
        Overrides:
        store in class Properties
        Parameters:
        out - a FileOutPutStream to send the output to
        header - a textual header for the top of the file
        Throws:
        IOException - when things go wrong
      • getKeys

        public List<String> getKeys()
        All the keys but alphabetically ordered
        Returns:
        the ordered collection of all the keys