public class InternalTypeLineParser extends Object
InternalType.
Such lines must generally be of the following form:
-> package.name.ClassName category (source)
| Constructor and Description |
|---|
InternalTypeLineParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInternalTypeLine(String line)
Indicates whether the specified line is an
InternalType. |
Optional<InternalType> |
parseLine(String line)
Tries to parse the specified line to an
InternalType. |
public boolean isInternalTypeLine(String line)
InternalType.line - the line to checkInternalTypepublic Optional<InternalType> parseLine(String line)
InternalType.line - the line to parseInternalType if the line could be parsed; otherwise an empty OptionalThis documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.