public final class FormatInferrers extends Object
FormatInferrers| Modifier and Type | Method and Description |
|---|---|
static FormatInferrer |
chained(FormatInferrer... formatInferrers) |
static FormatInferrer |
dateTime() |
static FormatInferrer |
email()
This
FormatInferrer requires commons-validator dependency! |
static FormatInferrer |
ip()
This
FormatInferrer requires commons-validator dependency! |
static FormatInferrer |
noOp() |
public static FormatInferrer noOp()
FormatInferrer that does not infer formats.public static FormatInferrer dateTime()
FormatInferrer that infers date time formats.public static FormatInferrer email()
FormatInferrer requires commons-validator dependency!FormatInferrer that infers emails.public static FormatInferrer ip()
FormatInferrer requires commons-validator dependency!FormatInferrer that infers ipv4 and ipv6.public static FormatInferrer chained(@Nonnull FormatInferrer... formatInferrers)
FormatInferrer that uses the given FormatInferrers in the original
order, and uses the first non-null result available.NullPointerException - if the input has null elementsCopyright © 2019–2022. All rights reserved.