| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | asString()
Implements org. Returns the identifier as String |
| public Optional | Returns: An Optional containing the URI if the construction succeeds, otherwise an empty Optional.Implements org. Generates an external URI that points to the RFC document on the rfc-editor website. |
| public static Optional |
| RFC_URL_MATCH | back to summary |
|---|---|
| private static final Pattern RFC_URL_MATCH | |
| RFC_URL_REGEX | back to summary |
|---|---|
| private static final String RFC_URL_REGEX | |
| rfcString | back to summary |
|---|---|
| private final String rfcString | |
| RFC | back to summary |
|---|---|
| public RFC(@NonNull String rfcString) Constructs an RFC object from a given string.
| |
| asString | back to summary |
|---|---|
| public String asString() Implements org. Doc from org. Returns the identifier as String
| |
| getExternalURI | back to summary |
|---|---|
| public Optional Implements org. Generates an external URI that points to the RFC document on the rfc-editor website. | |
| parse | back to summary |
|---|---|
| public static Optional Parses the given input string to extract a valid RFC identifier. The input can be a plain RFC ID or a full URL. | |