@ThreadSafe public class StandardPropertyParser extends java.lang.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<java.lang.String> |
createPropertyBy(java.lang.Iterable<Annotation> annotations,
java.lang.String id,
java.lang.String content) |
protected StandardPropertyParser.Extraction |
extractContent(char[] characters,
int begin) |
protected StandardPropertyParser.Extraction |
extractId(char[] characters) |
Property<java.lang.String> |
parse(java.lang.String plain,
java.lang.Iterable<Annotation> annotations) |
static StandardPropertyParser |
propertyParser() |
@Nonnull public static StandardPropertyParser propertyParser()
@Nonnull public Property<java.lang.String> parse(@Nonnull java.lang.String plain, @Nullable java.lang.Iterable<Annotation> annotations)
parse in interface PropertyParser@Nonnull protected Property<java.lang.String> createPropertyBy(@Nullable java.lang.Iterable<Annotation> annotations, @Nonnull java.lang.String id, @Nullable java.lang.String content)
@Nonnull protected StandardPropertyParser.Extraction extractId(@Nonnull char[] characters)
@Nonnull protected StandardPropertyParser.Extraction extractContent(@Nonnull char[] characters, @Nonnegative int begin)
Copyright © 2015 echocat. All Rights Reserved.