Code example for FileInputStream

Methods: close

0
	  FileInputStream fis = null;
	  // 
	  // Parse the Properties file 
	  // 
	  try { 
		  fis = new FileInputStream(new File(fileName));
		  m_properties.load(fis);
	  } 
	  finally 
	  { 
		  if( fis != null) {
        fis.close();
      } 
	  } 
  } 
 
  /** 
   * Returns the properties loaded. 
   * @return loaded properties. 
   */ 
Contextual code suggestions in your IDE  Get Codota for Java