|
8 | 8 |
|
9 | 9 | import java.io.IOException;
|
10 | 10 | import java.io.InputStream;
|
11 |
| -import java.io.Reader; |
12 | 11 | import java.math.BigDecimal;
|
13 | 12 |
|
14 | 13 | /**
|
@@ -300,11 +299,13 @@ public void writeStartObject(Object forValue) throws IOException
|
300 | 299 | @Override public void writeFieldName(SerializableString name) throws IOException {
|
301 | 300 | writeFieldName(name.getValue());
|
302 | 301 | }
|
303 |
| - |
| 302 | + |
304 | 303 | //public abstract void writeString(String text) throws IOException;
|
305 | 304 |
|
306 | 305 | //public abstract void writeString(char[] text, int offset, int len) throws IOException;
|
307 | 306 |
|
| 307 | + //public abstract void writeString(Reader reader, int len) throws IOException; |
| 308 | + |
308 | 309 | //public abstract void writeRaw(String text) throws IOException,;
|
309 | 310 |
|
310 | 311 | //public abstract void writeRaw(char[] text, int offset, int len) throws IOException;
|
@@ -341,17 +342,11 @@ public int writeBinary(Base64Variant b64variant, InputStream data, int dataLengt
|
341 | 342 | return 0;
|
342 | 343 | }
|
343 | 344 |
|
344 |
| - @Override // since 2.9 |
345 |
| - public void writeString(Reader reader, int len) throws IOException { |
346 |
| - // Let's implement this as "unsupported" to make it easier to add new parser impls |
347 |
| - _reportUnsupportedOperation(); |
348 |
| - } |
349 |
| - |
350 | 345 | /*
|
351 |
| - /********************************************************** |
352 |
| - /* Public API, write methods, primitive |
353 |
| - /********************************************************** |
354 |
| - */ |
| 346 | + /********************************************************** |
| 347 | + /* Public API, write methods, primitive |
| 348 | + /********************************************************** |
| 349 | + */ |
355 | 350 |
|
356 | 351 | // Not implemented at this level, added as placeholders
|
357 | 352 |
|
|
0 commit comments