Class ParserUtil
java.lang.Object
com.github.weisj.jsvg.parser.impl.ParserUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double @NotNull []parseDoubleList(@Nullable String value) static floatparseFloat(@Nullable String value, float fallback) static float @NotNull []parseFloatList(@Nullable String value) static intstatic @Nullable LengthparseNumber(@Nullable String value, @Nullable Length fallback) static @NotNull String @NotNull []parseStringList(@Nullable String value, SeparatorMode separatorMode) static @NotNull String @Nullable []parseStringList(@Nullable String value, SeparatorMode separatorMode, @NotNull String @Nullable [] fallback) static @Nullable Stringprivate static @NotNull StringremoveWhiteSpace(@NotNull String value)
-
Field Details
-
WHITESPACE_PATTERN
-
-
Constructor Details
-
ParserUtil
private ParserUtil()
-
-
Method Details
-
removeWhiteSpace
-
parseUrl
-
parseInt
-
parseFloat
-
parseNumber
-
parseFloatList
-
parseDoubleList
-
parseStringList
@NotNull public static @NotNull String @NotNull [] parseStringList(@Nullable @Nullable String value, SeparatorMode separatorMode) -
parseStringList
@Contract("_,_,!null -> !null") @NotNull public static @NotNull String @Nullable [] parseStringList(@Nullable @Nullable String value, SeparatorMode separatorMode, @NotNull @NotNull String @Nullable [] fallback)
-