System.out.println(StringUtils.trimToEmpty(prop.getProperty("Icon")));
log.debug(StringUtils.trimToEmpty(prop.getProperty("Icon")));
	public static Document Document(File f) throws java.io.FileNotFoundException {		log.debug("Indexing application");		Document doc = new Document();		Properties prop = new Properties();		try {			prop.load(new FileInputStream(f));		} catch (FileNotFoundException e) {			e.printStackTrace();		} catch (IOException e) {			e.printStackTrace();		}				doc.add(Field.Text("applicationname",StringUtils.trimToEmpty(prop.getProperty("Name"))));		doc.add(Field.Text("exec-command",StringUtils.trimToEmpty(prop.getProperty("Exec"))));		doc.add(Field.Text("comment",StringUtils.trimToEmpty(prop.getProperty("Comment"))));		System.out.println(StringUtils.trimToEmpty(prop.getProperty("Icon")));		doc.add(Field.Keyword("icon",StringUtils.trimToEmpty(prop.getProperty("Icon"))));		doc.add(Field.Keyword("path", f.getPath()));		String path = f.getParent();//		path = path.substring(0, path.length() - 1);		doc.add(Field.Keyword("absolutepath", path));		doc.add(Field.Keyword("file-name", f.getName()));		doc.add(Field.Text("type", "Application"));		doc.add(Field.Keyword("modified", DateField.timeToString(f.lastModified())));		return doc;	}