|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.util.MiscellaneousUtils
public final class MiscellaneousUtils
just some miscellaneous stuff for convenience that doesn't fit anywhere else
| Method Summary | |
|---|---|
static java.lang.String |
asPercent(double d)
|
static java.security.KeyPair |
generateKeyPair()
|
static java.security.KeyPair |
generateKeyPair(int keySize)
|
static java.security.KeyPair |
generateKeyPair(java.lang.String algorithm,
int keySize)
|
static void |
pause(long millisec)
just simplifies a call to Thread.sleep() |
static boolean |
start(java.net.URL url)
This method attempts to start the given url with the associated default application (most likely a web-browser) by calling |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean start(java.net.URL url)
Settings.getProperties()
to start the url. Note that a successful call to this method is platform
dependent; you may have to adjust the application.startCommand
parameter to make this work for your platform.
The default value for this parameter shipped with the antelmann.jar file
works for Windows NT/2000.
Settings.getProperties()public static void pause(long millisec)
Thread.sleep()
public static java.lang.String asPercent(double d)
public static java.security.KeyPair generateKeyPair()
public static java.security.KeyPair generateKeyPair(int keySize)
public static java.security.KeyPair generateKeyPair(java.lang.String algorithm,
int keySize)
throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||