Changeset 9231 in josm for trunk/src/org/openstreetmap/josm/io/XmlWriter.java
- Timestamp:
- 2016-01-01T02:35:34+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/XmlWriter.java
r8929 r9231 17 17 protected final PrintWriter out; 18 18 19 /** 20 * Constructs a new {@code XmlWriter}. 21 * @param out print writer 22 */ 19 23 public XmlWriter(PrintWriter out) { 20 24 this.out = out; … … 30 34 } 31 35 36 /** 37 * Encode the given string in XML1.0 format. 38 * Optimized to fast pass strings that don't need encoding (normal case). 39 * 40 * @param unencoded the unencoded input string 41 * @return XML1.0 string 42 */ 32 43 public static String encode(String unencoded) { 33 44 return encode(unencoded, false);
Note:
See TracChangeset
for help on using the changeset viewer.