- java.lang.Object
-
- com.gluonhq.connect.converter.InputStreamInputConverter<String>
-
- com.gluonhq.connect.converter.StringInputConverter
-
- All Implemented Interfaces:
InputConverter<String>
public class StringInputConverter extends InputStreamInputConverter<String>
An InputConverter that reads a string from an InputStream.
-
-
Constructor Summary
Constructors Constructor Description StringInputConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
read()
Reads a string from an InputStream.-
Methods inherited from class com.gluonhq.connect.converter.InputStreamInputConverter
getInputStream, setInputStream
-
-
-
-
Method Detail
-
read
public String read()
Reads a string from an InputStream.- Returns:
- A string object that was read from the InputStream.
-
-