public static Properties getProperties ( File file ) throws IOException { /*log.fine("getProperties(File): called");*/ // Open the file as an input stream InputStream is = new FileInputStream ( file ) ; // Create properties object loaded from the stream Properties properties = getProperties ( is ) ; // Close the file is . close ( ) ; return properties ; }
Get properties from a file .