| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | |
| public static Coordinate | getLineCharPosition(String s, int index)
Given |
| public static String | |
| public static String | |
| public static String | |
| public static boolean | referenceEquals(Object x, Object y)
Makes it clear when a comparison is intended as reference equality. |
| public static String | |
| public static String | |
| public static String | |
| public static String | stripLastPathElement(String f)
Given, say, |
| public static String | |
| public static String | |
| public static boolean |
| newline | back to summary |
|---|---|
| public static final String newline | |
| Misc | back to summary |
|---|---|
| public Misc() | |
| getFileName | back to summary |
|---|---|
| public static String getFileName(String fullFileName) | |
| getFileNameNoSuffix | back to summary |
|---|---|
| public static String getFileNameNoSuffix(String f) | |
| getLineCharPosition | back to summary |
|---|---|
| public static Coordinate getLineCharPosition(String s, int index) Given | |
| getParent | back to summary |
|---|---|
| public static String getParent(String name) | |
| getPrefix | back to summary |
|---|---|
| public static String getPrefix(String name) | |
| join | back to summary |
|---|---|
| public static String join(Iterator<?> iter, String separator) | |
| referenceEquals | back to summary |
|---|---|
| public static boolean referenceEquals(Object x, Object y) Makes it clear when a comparison is intended as reference equality. | |
| replaceEscapedRightAngle | back to summary |
|---|---|
| public static String replaceEscapedRightAngle(String s) Replace >\> with >> in s. Replace \> with > in s, unless prefix of \>>>. Do NOT replace if it's <\\> | |
| replaceEscapes | back to summary |
|---|---|
| public static String replaceEscapes(String s) | |
| strip | back to summary |
|---|---|
| public static String strip(String s, int n) | |
| stripLastPathElement | back to summary |
|---|---|
| public static String stripLastPathElement(String f) Given, say, | |
| trimOneStartingNewline | back to summary |
|---|---|
| public static String trimOneStartingNewline(String s) Strip a single newline character from the front of | |
| trimOneTrailingNewline | back to summary |
|---|---|
| public static String trimOneTrailingNewline(String s) Strip a single newline character from the end of | |
| urlExists | back to summary |
|---|---|
| public static boolean urlExists(URL url) | |