Module com.gluonhq.connect
Package com.gluonhq.connect.converter
The
com.gluonhq.connect.converter
package contains classes that describe how to convert between Java
objects and a certain data format.-
Interface Summary Interface Description InputConverter<T> An InputConverter is a Converter that is able to read an object from a certain input source.IterableInputConverter<E> An IterableInputConverter is a Converter that is able to read a list of objects from a certain input source by creating anIterator
to provide that list.OutputConverter<T> An OutputConverter is a Converter that is able to write an object to a certain output source. -
Class Summary Class Description InputStreamInputConverter<T> An abstract helper class that defines an InputConverter of which the input source is a standardInputStream
.InputStreamIterableInputConverter<E> An abstract helper class that defines an IterableInputConverter of which the input source is a standardInputStream
.JsonConverter<T> A utility class to convert Java objects from JSON Objects and from JSON Objects into Java objects.JsonInputConverter<T> An InputConverter that converts a JSON Object read from an InputStream into an object.JsonIterableInputConverter<E> An IterableInputConverter that converts a JSON Array read from an InputStream into an Iterator that can be used to iterate over a list of objects.JsonOutputConverter<T> An OutputConverter that converts an object into a JSON Object that is written to an OutputStream.OutputStreamOutputConverter<T> An abstract helper class that defines an OutputConverter of which the output source is a standardOutputStream
.StringInputConverter An InputConverter that reads a string from an InputStream.StringOutputConverter An OutputConverter that writes a string to an OutputStream.VoidInputConverter An InputConverter that reads the entire InputStream, while discarding its contents.VoidOutputConverter An OutputConverter that doesn't write anything to an OutputStream.XmlInputConverter<T> An InputConverter that converts a XML Object read from an InputStream into an object.