| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private StringBuilder | |
| private static final Logger | |
| private final String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static LinkedFile | Returns: a LinkedFile objectthe list of elements in the linked file textual representation entry)Converts the given textual representation of a LinkedFile object SIDE EFFECT: The given entry list is cleared upon completion Expected format is: description:link:fileType:sourceURL
fileType is an |
| public static List | parse(String value)
Converts the string representation of LinkedFileData to a List of LinkedFile The syntax of one element is description:path:type Multiple elements are concatenated with ; The main challenges of the implementation are:
|
| private List | |
| public static Map | |
| private void |
| charactersOfCurrentElement | back to summary |
|---|---|
| private StringBuilder charactersOfCurrentElement | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| value | back to summary |
|---|---|
| private final String value | |
| windowsPath | back to summary |
|---|---|
| private boolean windowsPath | |
| FileFieldParser | back to summary |
|---|---|
| private FileFieldParser(String value) | |
| convert | back to summary |
|---|---|
| pack-priv static LinkedFile convert(List<String> entry) Converts the given textual representation of a LinkedFile object SIDE EFFECT: The given entry list is cleared upon completion Expected format is: description:link:fileType:sourceURL
fileType is an
| |
| parse | back to summary |
|---|---|
| public static List Converts the string representation of LinkedFileData to a List of LinkedFile The syntax of one element is description:path:type Multiple elements are concatenated with ; The main challenges of the implementation are:
| |
| parse | back to summary |
|---|---|
| private List | |
| parseToPosition | back to summary |
|---|---|
| public static Map | |
| resetDataStructuresForNextElement | back to summary |
|---|---|
| private void resetDataStructuresForNextElement() | |
| Modifier and Type | Field and Description |
|---|---|
| private final LinkedFile | linkedFile
Record Component accessed by linkedFile(). |
| private final Range |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public LinkedFile | |
| public Range | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| linkedFile | back to summary |
|---|---|
| private final LinkedFile linkedFile Record Component accessed by linkedFile(). | |
| range | back to summary |
|---|---|
| private final Range range Record Component accessed by range(). | |
| LinkedFilePosition | back to summary |
|---|---|
| private LinkedFilePosition(LinkedFile linkedFile, Range range) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| linkedFile | back to summary |
|---|---|
| public LinkedFile linkedFile() Record Component getter of linkedFile. | |
| range | back to summary |
|---|---|
| public Range range() Record Component getter of range. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |