@ThreadSafe public class StandardPropertyParser extends Object implements PropertyParser
| Modifier and Type | Class and Description |
|---|---|
protected static class |
StandardPropertyParser.Extraction |
| Constructor and Description |
|---|
StandardPropertyParser() |
| Modifier and Type | Method and Description |
|---|---|
protected Property<String> |
createPropertyBy(Iterable<Annotation> annotations,
String id,
String content) |
protected StandardPropertyParser.Extraction |
extractContent(char[] characters,
int begin) |
protected StandardPropertyParser.Extraction |
extractId(char[] characters) |
Property<String> |
parse(String plain,
Iterable<Annotation> annotations) |
static StandardPropertyParser |
propertyParser() |
@Nonnull public static StandardPropertyParser propertyParser()
@Nonnull public Property<String> parse(@Nonnull String plain, @Nullable Iterable<Annotation> annotations)
parse in interface PropertyParser@Nonnull protected Property<String> createPropertyBy(@Nullable Iterable<Annotation> annotations, @Nonnull String id, @Nullable String content)
@Nonnull protected StandardPropertyParser.Extraction extractId(@Nonnull char[] characters)
@Nonnull protected StandardPropertyParser.Extraction extractContent(@Nonnull char[] characters, @Nonnegative int begin)
Copyright © 2024 echocat. All rights reserved.