Code example for PropertyResourceBundle

0
	 */ 
	public PropertyResourceBundle getProperties(){
		if (this.properties == null){
			try { 
				this.properties = new PropertyResourceBundle(
						FileLocator.openStream(this.getBundle(),
								new Path(PROPERTIES),false));
			} catch (IOException e) {
				//log error 
				e.getMessage();
			} 
		} 
		return this.properties;
	}	   
	 
	/** 
	 * Get String from the plugin.properties file 
	 *  
	 * @param var Variable name wanted as a String e.g. "ToolName.assembler.llvm" 
	 * @return String e.g. LLVM assembler