All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.css.util.Util

java.lang.Object
   |
   +----org.w3c.css.util.Util

public final class Util
extends Object
This class holds various utility methods.


Variable Index

 o fromHTMLFile
true if the input is a HTML file
 o importSecurity
true if the validator can import URL.
 o noErrorTrace
true if the validator doesn't need errors
 o onDebug
true if the user wants debug traces.
 o servlet
true if the validator runs in a servlet (security pbs)

Method Index

 o displayFloat(Float)
Display a float without .0 if necessary
 o displayFloat(float)
Display a float without .0 if necessary
 o isWhiteSpace(char)
Returns true if the character is not a white space
 o strip(String)
Suppress all white spaces
 o suppressWhiteSpace(String)
Suppressed all white spaces in the beginning of the string
 o verbose(String)
Print a message on System.err only if the user wants debug trace.

Variables

 o servlet
 public static boolean servlet
true if the validator runs in a servlet (security pbs)

 o importSecurity
 public static boolean importSecurity
true if the validator can import URL.

 o noErrorTrace
 public static boolean noErrorTrace
true if the validator doesn't need errors

 o fromHTMLFile
 public static boolean fromHTMLFile
true if the input is a HTML file

 o onDebug
 public static boolean onDebug
true if the user wants debug traces.

See Also:
verbose

Methods

 o verbose
 public static final void verbose(String s)
Print a message on System.err only if the user wants debug trace.

 o suppressWhiteSpace
 public static final String suppressWhiteSpace(String s)
Suppressed all white spaces in the beginning of the string

 o strip
 public static final String strip(String s)
Suppress all white spaces

Parameters:
s - the string.
 o isWhiteSpace
 public static final boolean isWhiteSpace(char c)
Returns true if the character is not a white space

Parameters:
c - the character
 o displayFloat
 public static final String displayFloat(Float value)
Display a float without .0 if necessary

 o displayFloat
 public static final String displayFloat(float value)
Display a float without .0 if necessary


All Packages  Class Hierarchy  This Package  Previous  Next  Index