| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | format(String
The text to layout. field)Implements org. Failure Mode: Formatters should be robust in the sense that they always return some relevant string. |
| public void | setArgument(String
The file type. arg)Implements org. This method is called if the layout file specifies an argument for this formatter. |
| fileDirectories | back to summary |
|---|---|
| private final List<Path> fileDirectories | |
| fileType | back to summary |
|---|---|
| private String fileType | |
| mainFileDirectory | back to summary |
|---|---|
| private final String mainFileDirectory | |
| FileLink | back to summary |
|---|---|
| public FileLink(List<Path> fileDirectories, String mainFileDirectory) | |
| format | back to summary |
|---|---|
| public String format(String field) Implements org. Doc from org. Failure Mode: Formatters should be robust in the sense that they always return some relevant string. If the formatter can detect an invalid input it should return the original string otherwise it may simply return a wrong output. | |
| setArgument | back to summary |
|---|---|
| public void setArgument(String arg) Implements org. This method is called if the layout file specifies an argument for this formatter. We use it as an indicator of which file type we should look for. | |