OOP Pop3Receiver Version 2.2

com.bentofw.util
Class PropertiesFromResource

java.lang.Object
  extended by com.bentofw.util.PropertiesFromResource

public class PropertiesFromResource
extends java.lang.Object

Reads the resource from WEB-INF/classes and stores the key-value pairs.

Author:
Jun Inamori

Method Summary
static java.util.Properties read(java.lang.String res)
          Reads the resource from WEB-INF/classes and stores the key-value pairs.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

read

public static java.util.Properties read(java.lang.String res)
                                 throws NoPropertyFileException,
                                        NestedException
Reads the resource from WEB-INF/classes and stores the key-value pairs.

Parameters:
res - The path to the resource file. Must be relative to WEB-INF/classes
Returns:
The instance of Properties which is read from the specified resource.
Throws:
NoPropertyFileException
NestedException

OOP Pop3Receiver Version 2.2

ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.