org.testng.internal
Class PropertiesFile

java.lang.Object
  extended by org.testng.internal.PropertiesFile

public class PropertiesFile
extends java.lang.Object

This class loads and abstracts remote.properties

Author:
cbeust, Guy Korland

Constructor Summary
PropertiesFile(java.lang.String fileName)
          Loads a Properties file.
 
Method Summary
 java.util.Properties getProperties()
          Returns the properties loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesFile

public PropertiesFile(java.lang.String fileName)
               throws java.io.IOException
Loads a Properties file.

Parameters:
fileName - properties file path
Throws:
java.io.IOException - if an error occurred when reading from the Properties file.
Method Detail

getProperties

public java.util.Properties getProperties()
Returns the properties loaded.

Returns:
loaded properties.


Copyright © 2010. All Rights Reserved.