org.datanucleus.util
Class PersistenceUtils

java.lang.Object
  extended by org.datanucleus.util.PersistenceUtils

public class PersistenceUtils
extends java.lang.Object

Series of convenience methods for the persistence process.


Field Summary
protected static Localiser LOCALISER
          Localisation of messages.
 
Constructor Summary
PersistenceUtils()
           
 
Method Summary
static java.util.Properties setPropertiesUsingFile(java.lang.String filename)
          Method to return the Persistence Properties from the specified file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALISER

protected static final Localiser LOCALISER
Localisation of messages.

Constructor Detail

PersistenceUtils

public PersistenceUtils()
Method Detail

setPropertiesUsingFile

public static java.util.Properties setPropertiesUsingFile(java.lang.String filename)
Method to return the Persistence Properties from the specified file.

Parameters:
filename - Name of the file containing the properties
Returns:
the Persistence Properties in this file
Throws:
NucleusUserException - if file not readable


Copyright © 2011. All Rights Reserved.