(Object x)
| 1877 | } |
| 1878 | |
| 1879 | static public String printString(Object x){ |
| 1880 | try { |
| 1881 | StringWriter sw = new StringWriter(); |
| 1882 | print(x, sw); |
| 1883 | return sw.toString(); |
| 1884 | } |
| 1885 | catch(Exception e) { |
| 1886 | throw Util.sneakyThrow(e); |
| 1887 | } |
| 1888 | } |
| 1889 | |
| 1890 | static public Object readString(String s){ |
| 1891 | return readString(s, null); |