onlineTests
Class Utils

java.lang.Object
  extended byonlineTests.Utils

public class Utils
extends java.lang.Object

Utility class for OnlineTests project. Holds methods for converting strings from and to DataBase.

Author:
Silvia Kopcheva
See Also:
User, LoadDataModel, DBConnections

Constructor Summary
Utils()
           
 
Method Summary
static java.lang.String fromDB(java.lang.String dataString)
          This method converts string, gotten from DataBase
static java.lang.String toDB(java.lang.String dataString)
          This method converts string, for insert it into DataBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

toDB

public static java.lang.String toDB(java.lang.String dataString)
This method converts string, for insert it into DataBase

Parameters:
dataString - text to be converted
Returns:
converted text

fromDB

public static java.lang.String fromDB(java.lang.String dataString)
This method converts string, gotten from DataBase

Parameters:
dataString - text to be converted
Returns:
converted text