All pastes #2108245 Raw Edit

Stuff

public text v1 · immutable
#2108245 ·published 2012-01-31 20:43 UTC
rendered paste body
public static boolean checkIfParamsNeedUpdating(IFile pboFile)
	{
	   	Properties prop = new Properties();
		 
		 try {
		               //load a properties file
			 if (pboFile.exists()) 
			{ 
				 System.out.println("Exists?");
			} else
			{
				System.out.println("Doesn't exist?");
			}
			 prop.load(new FileInputStream(pboFile.getFullPath().toFile()));
		    	System.out.println("Read:" + prop.get("parameters"));	
		 
		            
		 
		 } catch (IOException ex) {
		  		ex.printStackTrace();
		 }
		 return true;
		
		
		
	}