All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.framework.utils.PropertyFileReader Maven / Gradle / Ivy

Go to download

Jar to include in your custom framework which contains excel utilities, main controller, call application, random generation and utilities for selenium operations

There is a newer version: 1.3.19
Show newest version
package org.framework.utils;

import java.io.FileReader;
import java.util.Properties;

public class PropertyFileReader {

	public String propertiesReader(String filePath,String key)
	{
		try
		{
		FileReader reader = new FileReader(filePath);
		Properties properties = new Properties();
		properties.load(reader);
		String s =  properties.getProperty(key);
		return s;	
		}
		catch(Exception e)
		{
			e.printStackTrace();
			return null;
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy