Otherwise, if this Properties table has a defaults table, then whatever its getProperty method returns is returned. Otherwise, null is returned. If there is an entry in this Properties table with key as its key, the associated element is returned. Otherwise, if this Properties table has a defaults table, then whatever its getProperty method returns is returned. Otherwise, defaultValue is returned.
Every property occupies one line of the input stream.
Lines from the input stream are processed until end of file is reached on the input stream. All remaining characters on the line become part of the associated element string. Thus, the header can serve as an identifying comment. Then every entry in this Properties table is written out, one per line. Each character of the element string is examined to see whether it should be rendered as an escape sequence.