站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

Utils - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.core
Class Utils

java.lang.Object
  extended byorg.jboss.portal.test.core.Utils

public class Utils
extends java.lang.Object

Author:
Thomas Heute $Revision: 5448 $

Field Summary
private static java.lang.String password
           
private static java.lang.String url
           
private static java.lang.String username
           
 
Constructor Summary
Utils()
           
 
Method Summary
static IDatabaseConnection getConnection()
           
static IDataSet getDataSet(java.lang.String file)
           
static void resetAutoIncrement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

private static java.lang.String url

username

private static java.lang.String username

password

private static java.lang.String password
Constructor Detail

Utils

public Utils()
Method Detail

getDataSet

public static IDataSet getDataSet(java.lang.String file)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getConnection

public static IDatabaseConnection getConnection()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

resetAutoIncrement

public static void resetAutoIncrement()
                               throws java.sql.SQLException
Throws:
java.sql.SQLException