Code example for PropertyResourceBundle

0
File autobuildProps = new File("autobuild.properties");
			if (autobuildProps.isFile() && autobuildProps.canRead())
			{ 
				FileInputStream fis = new FileInputStream(autobuildProps);
				autobuildProperties = new PropertyResourceBundle(fis);
			} 
		} 
		catch (MissingResourceException mre)
		{ 
			Logging.errorPrint("Failed to load autobuild.properties", mre);
			autobuildProperties = null;
		} 
		catch (IOException e)
		{ 
			Logging.errorPrint("autobuildProperties. failed", e);
			 
		} 
		 
		try 
Experience pair programming with AI  Get Codota for Java