util
Class SysUtils
java.lang.Object
|
+--util.SysUtils
- public class SysUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SysUtils
public SysUtils()
getJavaPath
public static String getJavaPath()
traverse
public static Object[] traverse(String afileDirectory)
getActiveComponent
public static XComponent getActiveComponent(XMultiServiceFactory msf)
getActiveFrame
public static XFrame getActiveFrame(XMultiServiceFactory msf)
getSysClipboardText
public static String getSysClipboardText(XMultiServiceFactory msf)
throws Exception
- Tries to obtain text data from cliboard if such one exists.
The method iterates through all 'text/plain' supported data
flavors and returns the first non-null String value.
- Parameters:
msf
- MultiserviceFactory- Returns:
- First found string clipboard contents or null if no
text contents were found.
- Throws:
Exception
- if system clipboard is not accessible.