Changeset 978
- Timestamp:
- 12/08/15 13:56:35 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/actions/Misc.java
r950 r978 477 477 } 478 478 479 /** 480 * Get a single Unicode character 481 * 482 * @param codePoint 483 * the Unicode codePoint 484 */ 485 public static String getUnicodeCharacter(int codePoint) { 486 char codePointChar = (char) codePoint; 487 if (Character.isDefined(codePointChar)) { 488 return Character.valueOf(codePointChar).toString(); 489 } 490 else { 491 MessageBay.errorMessage("Character value '" + codePoint +"' not defined"); 492 return ""; 493 } 494 } 495 479 496 public static String getMathSymbols() { 480 497 return getUnicodeCharacters('\u2200', '\u2300');
Note:
See TracChangeset
for help on using the changeset viewer.