-
- Type Parameters:
T
- the type of the object that is read by this InputConverter
- All Known Implementing Classes:
InputStreamInputConverter
,JsonInputConverter
,StringInputConverter
,VoidInputConverter
,XmlInputConverter
public interface InputConverter<T>
An InputConverter is a Converter that is able to read an object from a certain input source. The actual source is not defined on this interface and is thus completely left open for the implementations to define.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
read()
Reads an object from a certain input source and returns it.
-
-
-
Method Detail
-
read
T read()
Reads an object from a certain input source and returns it.- Returns:
- An object read from a certain input source.
-
-