org.deltava.dao.file
Class GetProperties

java.lang.Object
  extended by org.deltava.dao.file.DAO
      extended by org.deltava.dao.file.GetProperties

public class GetProperties
extends DAO

A Data Access Object to read properties files.

Since:
1.0
Version:
1.0
Author:
Luke

Constructor Summary
GetProperties(InputStream is)
          Initializes the Data Access Object.
 
Method Summary
 Properties read()
          Loads the Properties.
 
Methods inherited from class org.deltava.dao.file.DAO
getReader, getStream, setBufferSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetProperties

public GetProperties(InputStream is)
Initializes the Data Access Object.

Parameters:
is - the InputStream to read from
Method Detail

read

public Properties read()
                throws DAOException
Loads the Properties.

Returns:
a Properties object
Throws:
DAOException - if an I/O error occurs


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.