站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

PropertiesHelper (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.util
Class PropertiesHelper

java.lang.Object
  extended bynet.sf.hibernate.util.PropertiesHelper

public final class PropertiesHelper
extends Object


Method Summary
static boolean getBoolean(String property, Properties properties)
           
static boolean getBoolean(String property, Properties properties, boolean defaultValue)
           
static byte getByte(String property, Properties properties, byte defaultValue)
           
static int getInt(String property, Properties properties, int defaultValue)
           
static Integer getInteger(String property, Properties properties)
           
static long getLong(String property, Properties properties, long defaultValue)
           
static String getString(String property, Properties properties, String defaultValue)
           
static Map toMap(String property, String delim, Properties properties)
           
static String[] toStringArray(String propValue, String delim)
           
static String[] toStringArray(String property, String delim, Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBoolean

public static boolean getBoolean(String property,
                                 Properties properties)

getBoolean

public static boolean getBoolean(String property,
                                 Properties properties,
                                 boolean defaultValue)

getInt

public static int getInt(String property,
                         Properties properties,
                         int defaultValue)

getLong

public static long getLong(String property,
                           Properties properties,
                           long defaultValue)

getString

public static String getString(String property,
                               Properties properties,
                               String defaultValue)

getInteger

public static Integer getInteger(String property,
                                 Properties properties)

getByte

public static byte getByte(String property,
                           Properties properties,
                           byte defaultValue)

toMap

public static Map toMap(String property,
                        String delim,
                        Properties properties)

toStringArray

public static String[] toStringArray(String property,
                                     String delim,
                                     Properties properties)

toStringArray

public static String[] toStringArray(String propValue,
                                     String delim)