fi.hut.tml.xsmiles
Class Utilities

java.lang.Object
  extended byfi.hut.tml.xsmiles.Utilities

public class Utilities
extends java.lang.Object

Version:
minor re-structure., $Revision: 6195 $
Author:
Mikko Honkala

Constructor Summary
Utilities()
           
 
Method Summary
static void closeStaticLog()
          Open the Log window, to output debug data, using static method.
static double getJavaVersion()
           
static boolean isEmbedded()
          returns true, if this is an embedded system, such personal profile on IBM j9
static boolean isHTMLWhiteSpace(char ch)
          tests html white space http://www.w3.org/TR/html401/struct/text.html#h-9.1 * ASCII space ( ), ASCII tab ( ), ASCII form feed ( ), carriage return ( ), a line feed ( ), Zero-width space (​)
static void openStaticLog()
          Open the Log window, to output debug data, using static method.
static java.lang.String prelineHTMLContent(java.lang.String value)
           
static void setJavaVersion(double ver)
           
static java.net.URL toURL(java.io.File file)
           
static java.lang.String trimHTMLContent(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

openStaticLog

public static void openStaticLog()
Open the Log window, to output debug data, using static method.


closeStaticLog

public static void closeStaticLog()
Open the Log window, to output debug data, using static method.


getJavaVersion

public static double getJavaVersion()

isEmbedded

public static boolean isEmbedded()
returns true, if this is an embedded system, such personal profile on IBM j9


isHTMLWhiteSpace

public static boolean isHTMLWhiteSpace(char ch)
tests html white space http://www.w3.org/TR/html401/struct/text.html#h-9.1 * ASCII space ( ), ASCII tab ( ), ASCII form feed ( ), carriage return ( ), a line feed ( ), Zero-width space (​)


trimHTMLContent

public static java.lang.String trimHTMLContent(java.lang.String value)

prelineHTMLContent

public static java.lang.String prelineHTMLContent(java.lang.String value)

toURL

public static java.net.URL toURL(java.io.File file)
                          throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

setJavaVersion

public static void setJavaVersion(double ver)


X-Smiles 1.2