| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final Logger | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | changeCase(String
the string to handle s, BstCaseChanger.the format formatChanges case of the given string s |
| private int | Returns: the new positionConvert the given string according to the format character (title, lower, up) and append the result to the stringBuffer, return the updated position. |
| private int | convertCharIfBraceLevelIsZero(char[] c, int start, StringBuilder sb, BstCaseChanger.
|
| private int | |
| private int | convertSpecialChar(StringBuilder sb, char[] c, int
the current position. It points to the opening brace start, BstCaseChanger.We're dealing with a special character (usually either an undotted `\i' or `\j', or an accent like one in Table~3.1 of the \LaTeX\ manual, or a foreign character like one in Table~3.2) if the first character after the |left_brace| is a |backslash|; the special character ends with the matching |right_brace|. |
| private String | |
| public static Optional | Returns: the special LaTeX character or nullthe current "String" c, int the position pos)Determine whether there starts a special char at pos (e.g., oe, AE). |
| braceLevel | back to summary |
|---|---|
| private int braceLevel | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| prevColon | back to summary |
|---|---|
| private boolean prevColon | |
| BstCaseChanger | back to summary |
|---|---|
| private BstCaseChanger() | |
| changeCase | back to summary |
|---|---|
| public static String changeCase(String s, BstCaseChanger. Changes case of the given string s
| |
| convertAccented | back to summary |
|---|---|
| private int convertAccented(char[] c, int start, String s, StringBuilder sb, BstCaseChanger. Convert the given string according to the format character (title, lower, up) and append the result to the stringBuffer, return the updated position.
| |
| convertCharIfBraceLevelIsZero | back to summary |
|---|---|
| private int convertCharIfBraceLevelIsZero(char[] c, int start, StringBuilder sb, BstCaseChanger. | |
| convertNonControl | back to summary |
|---|---|
| private int convertNonControl(char[] c, int start, StringBuilder sb, BstCaseChanger. | |
| convertSpecialChar | back to summary |
|---|---|
| private int convertSpecialChar(StringBuilder sb, char[] c, int start, BstCaseChanger. We're dealing with a special character (usually either an undotted `\i' or `\j', or an accent like one in Table~3.1 of the \LaTeX\ manual, or a foreign character like one in Table~3.2) if the first character after the |left_brace| is a |backslash|; the special character ends with the matching |right_brace|. How we handle what is in between depends on the special character. In general, this code will do reasonably well if there is other stuff, too, between braces, but it doesn't try to do anything special with |colon|s.
| |
| doChangeCase | back to summary |
|---|---|
| private String doChangeCase(String s, BstCaseChanger. | |
| findSpecialChar | back to summary |
|---|---|
| public static Optional Determine whether there starts a special char at pos (e.g., oe, AE). Return it as string. If nothing found, return Optional.empty() Also used by BibtexPurify | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BstCaseChanger. | |
| public static final BstCaseChanger. | |
| private final char | |
| public static final BstCaseChanger. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public char | |
| public static BstCaseChanger. | |
| public static BstCaseChanger. | |
| public static BstCaseChanger. | |
| public static BstCaseChanger. |
| ALL_LOWERS | back to summary |
|---|---|
| public static final BstCaseChanger. | |
| ALL_UPPERS | back to summary |
|---|---|
| public static final BstCaseChanger. | |
| asChar | back to summary |
|---|---|
| private final char asChar | |
| TITLE_LOWERS | back to summary |
|---|---|
| public static final BstCaseChanger. | |
| FormatMode | back to summary |
|---|---|
| private FormatMode(char asChar) | |
| asChar | back to summary |
|---|---|
| public char asChar() | |
| of | back to summary |
|---|---|
| public static BstCaseChanger. Convert bstFormat char into ENUM
| |
| of | back to summary |
|---|---|
| public static BstCaseChanger. | |
| valueOf | back to summary |
|---|---|
| public static BstCaseChanger. | |
| values | back to summary |
|---|---|
| public static BstCaseChanger. | |