|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.javatools.util.StringUtil
public final class StringUtil
String utilities.
| Field Summary | |
|---|---|
static int |
FILEPATH_MAX_DISPLAY_LENGTH |
| Method Summary | |
|---|---|
static java.lang.String[] |
getTokenArray(java.lang.String string, java.lang.String delimiters) |
static java.lang.String |
removeMnemonic(java.lang.String text, char mnemonic)Removes the given mnemonic if present in the given text in between parenthesis. |
static java.lang.String |
stripMnemonic(java.lang.String string) |
static java.lang.String |
textWithoutMnemonic(javax.swing.Action action)Returns the text of the given action, removing any mnemonic attached to the end of such text, if present in the given text in between parenthesis. |
static java.lang.String |
truncateFileNameForMessage(java.lang.String path)Truncate a file path for a message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int FILEPATH_MAX_DISPLAY_LENGTH
| Method Detail |
|---|
public static java.lang.String truncateFileNameForMessage(java.lang.String path)
path - a file path
public static java.lang.String[] getTokenArray(java.lang.String string,
java.lang.String delimiters)
public static java.lang.String stripMnemonic(java.lang.String string)
public static java.lang.String textWithoutMnemonic(javax.swing.Action action)
For example, if text of the action is "Hello(H)", this method will return "Hello".
action - the given action.
public static java.lang.String removeMnemonic(java.lang.String text,
char mnemonic)
text - the text that may contain the mnemonic.mnemonic - the mnemonic to remove.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||