< < E-NEF > >
Prog. Perl | Art Roman | Voyager | Cartes ()
                  dragon                     e-nef                 Plan du Site
Contact
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class orchid.object.Util

java.lang.Object
   |
   +----orchid.object.Util

public class Util
extends Object
A class including useful functions for ORCHID.

Author:
Marc-Aurèle DARCHE & Antoine SOULIEZ

Constructor Index

 o Util()

Method Index

 o enumToHashtable(Enumeration)
 o enumToVector(Enumeration)
 o getServer()
 o logMsg(String, String, String)
Display a message.
 o setServer(String)
 o sortCF(Hashtable)
Sort the CF
 o stringToVector(String)
 o validateDate(String)
Check if a String is a valide date
 o validateInteger(String)
Check if the content of a String is an int.
 o vectorToSQLList(Vector)

Constructors

 o Util
 public Util()

Methods

 o setServer
 public static void setServer(String server)
 o getServer
 public static String getServer()
 o stringToVector
 public static Vector stringToVector(String s)
 o vectorToSQLList
 public static String vectorToSQLList(Vector v)
 o enumToVector
 public static Vector enumToVector(Enumeration e)
 o enumToHashtable
 public static Hashtable enumToHashtable(Enumeration e)
 o logMsg
 public static void logMsg(String purpose,
                           String identity,
                           String message)
Display a message. purpose can be info, error, panic or alert.

 o sortCF
 public static Vector sortCF(Hashtable tobesorted)
Sort the CF

 o validateInteger
 public static boolean validateInteger(String strtotest)
Check if the content of a String is an int.

 o validateDate
 public static boolean validateDate(String strtotest)
Check if a String is a valide date


All Packages  Class Hierarchy  This Package  Previous  Next  Index
© Copyright 1998-2008 Emmanuel PIERRE. Libre reproduction sous Licence LLDDv1.
Pour tout commentaire, webmaster@e-nef.com
Dernière MaJ 31/01/2018

Valid XHTML 1.0!

No Patents/