For instance, if the pages field is set to "345-360" or "345--360", this formatter will return "360".
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | format(String s)
Implements org. Failure Mode: Formatters should be robust in the sense that they always return some relevant string. |
| LastPage | back to summary |
|---|---|
| public LastPage() | |
| format | back to summary |
|---|---|
| public String format(String s) 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.
| |