Package org.graylog2.inputs.converters
Class NumericConverter
java.lang.Object
org.graylog2.plugin.inputs.Converter
org.graylog2.inputs.converters.NumericConverter
- Author:
- Lennart Koopmann <lennart@torch.sh>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.graylog2.plugin.inputs.Converter
Converter.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAttempts to convert the provided string value to a numeric type, trying Integer, Long and Double in order until successful.
-
Constructor Details
-
NumericConverter
-
-
Method Details
-
convert
Attempts to convert the provided string value to a numeric type, trying Integer, Long and Double in order until successful. -
buildsMultipleFields
public boolean buildsMultipleFields()- Specified by:
buildsMultipleFieldsin classConverter
-