Package uk.ac.rdg.resc.edal.covjson
Interface StreamingEncoder.MapEncoder<T>
-
- Enclosing interface:
- StreamingEncoder
public static interface StreamingEncoder.MapEncoder<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
end()
StreamingEncoder.MapEncoder<T>
put(String key, boolean value)
StreamingEncoder.MapEncoder<T>
put(String key, double value)
StreamingEncoder.MapEncoder<T>
put(String key, float value)
StreamingEncoder.MapEncoder<T>
put(String key, int value)
StreamingEncoder.MapEncoder<T>
put(String key, long value)
StreamingEncoder.MapEncoder<T>
put(String key, String value)
StreamingEncoder.ArrayEncoder<StreamingEncoder.MapEncoder<T>>
startArray(String key)
StreamingEncoder.ArrayEncoder<StreamingEncoder.MapEncoder<T>>
startArray(String key, StreamingEncoder.ArrayHints hints)
StreamingEncoder.MapEncoder<StreamingEncoder.MapEncoder<T>>
startMap(String key)
-
-
-
Method Detail
-
put
StreamingEncoder.MapEncoder<T> put(String key, String value) throws IOException
- Throws:
IOException
-
put
StreamingEncoder.MapEncoder<T> put(String key, boolean value) throws IOException
- Throws:
IOException
-
put
StreamingEncoder.MapEncoder<T> put(String key, int value) throws IOException
- Throws:
IOException
-
put
StreamingEncoder.MapEncoder<T> put(String key, long value) throws IOException
- Throws:
IOException
-
put
StreamingEncoder.MapEncoder<T> put(String key, float value) throws IOException
- Throws:
IOException
-
put
StreamingEncoder.MapEncoder<T> put(String key, double value) throws IOException
- Throws:
IOException
-
startArray
StreamingEncoder.ArrayEncoder<StreamingEncoder.MapEncoder<T>> startArray(String key) throws IOException
- Throws:
IOException
-
startArray
StreamingEncoder.ArrayEncoder<StreamingEncoder.MapEncoder<T>> startArray(String key, StreamingEncoder.ArrayHints hints) throws IOException
- Throws:
IOException
-
startMap
StreamingEncoder.MapEncoder<StreamingEncoder.MapEncoder<T>> startMap(String key) throws IOException
- Throws:
IOException
-
end
T end() throws IOException
- Throws:
IOException
-
-