Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.openmosix.applet
Class Utils  view Utils download Utils.java

java.lang.Object
  extended byorg.openmosix.applet.Utils

public class Utils
extends java.lang.Object


Field Summary
private  openMosixApplet caller
           
 
Constructor Summary
Utils(openMosixApplet c)
           
 
Method Summary
 java.lang.String getAboutBoxNotes()
          Return a string with notes about the applet
 java.lang.String getPureValue(java.lang.String strRawValue, java.lang.String strSeparator)
          Parses a string (returned by an oMInfoServer daemon) and gets the value (for the specific node information).
 java.lang.String getSupportedKeys()
          Returns a string with the keys supported by the applet
static java.lang.String getSwVersion()
          Gets the whole version number string
 boolean isJDK14OrGreater()
          Return if the JDK/JRE (used for running the applet) is 1.4 or greater.
 boolean setLookAndFeel(int style)
           
 java.lang.String validateHTMLParam(java.lang.String paramName, java.lang.String defaultValue)
          Verifies if an applet parameter (found in the calling HTML page) is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

caller

private openMosixApplet caller
Constructor Detail

Utils

public Utils(openMosixApplet c)
Method Detail

getPureValue

public java.lang.String getPureValue(java.lang.String strRawValue,
                                     java.lang.String strSeparator)
Parses a string (returned by an oMInfoServer daemon) and gets the value (for the specific node information). Example: getPureValue("LOAD=100", "=") -> "100"


validateHTMLParam

public java.lang.String validateHTMLParam(java.lang.String paramName,
                                          java.lang.String defaultValue)
Verifies if an applet parameter (found in the calling HTML page) is valid.


getSupportedKeys

public java.lang.String getSupportedKeys()
Returns a string with the keys supported by the applet


getAboutBoxNotes

public java.lang.String getAboutBoxNotes()
Return a string with notes about the applet


isJDK14OrGreater

public boolean isJDK14OrGreater()
Return if the JDK/JRE (used for running the applet) is 1.4 or greater.


getSwVersion

public static final java.lang.String getSwVersion()
Gets the whole version number string


setLookAndFeel

public boolean setLookAndFeel(int style)