agave-notifications/notifications-core/src/main/java/org/iplantc/service/notification/queue/runnable/NotificationWorkQueue.java
/**
	 * Read propprties from disk.
	 * @param propertiesFile
	 * @return
	 * @throws IOException
	 */
Read propprties from disk.
@param propertiesFile
@return
@throws IOException
Read propprties from disk . @param propertiesFile @return @throws IOException
private Properties loadPropertiesFromDisk(String propertiesFile) 
	throws IOException 
	{
		InputStream in = null;
	    Properties properties = null;
	    try {
	    	if (new File(propertiesFile).exists()) {
	    		in = new FileInputStream(propertiesFile);
	    	} 
	    	else {
	    		in = getClass().getClassLoader().getResourceAsStream(propertiesFile);
	    	}
	    	properties = new Properties();
	        properties.load(in);
	        return properties;
	    } 
	    finally {
	        if (in != null) try { in.close(); } catch (Exception e) {}
	    }
	}
private Properties loadPropertiesFromDisk ( String propertiesFile ) throws IOException { InputStream in = null ; Properties properties = null ; try { if ( new File ( propertiesFile ) . exists ( ) ) { in = new FileInputStream ( propertiesFile ) ; } else { in = getClass ( ) . getClassLoader ( ) . getResourceAsStream ( propertiesFile ) ; } properties = new Properties ( ) ; properties . load ( in ) ; return properties ; } finally { if ( in != null ) try { in . close ( ) ; } catch ( Exception e ) { } } }
Read propprties from disk.
Read propprties from disk .