Changeset 712
- Timestamp:
- 06/24/07 18:41:06 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/gregor/Moonlight-main/src/ml/core/preferences/Preferences.java
r668 r712 67 67 68 68 public void loadFromFile(String filename) throws SAXException, IOException, ParserConfigurationException { 69 Document preferencesDoc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse( filename);69 Document preferencesDoc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new File(filename).toURI().toString()); 70 70 71 71 Element root = preferencesDoc.getDocumentElement(); branches/gregor/Moonlight-main/src/ml/ui/core/propertysheet/PropertySheetDefinition.java
r668 r712 56 56 } 57 57 try { 58 propertySheetDefinitions.add(new PropertySheetDefinition(file. getAbsolutePath()));58 propertySheetDefinitions.add(new PropertySheetDefinition(file.toURI().toString())); 59 59 } catch (Exception e) { 60 60 // catch errors here to make sure that the offending definition is simply skipped over
