Author: tchemit Date: 2008-08-05 12:07:21 +0000 (Tue, 05 Aug 2008) New Revision: 179 Modified: trunk/jrst2/src/java/org/codelutin/jrst/JRSTReader.java Log: on remet les accents + suppression deprecated code Modified: trunk/jrst2/src/java/org/codelutin/jrst/JRSTReader.java =================================================================== --- trunk/jrst2/src/java/org/codelutin/jrst/JRSTReader.java 2008-08-05 09:44:12 UTC (rev 178) +++ trunk/jrst2/src/java/org/codelutin/jrst/JRSTReader.java 2008-08-05 12:07:21 UTC (rev 179) @@ -1,6 +1,6 @@ /* *##% * Copyright (C) 2006 - * Code Lutin, Cédric Pineau, Benjamin Poussin + * Code Lutin, Cédric Pineau, Benjamin Poussin * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -933,7 +933,7 @@ result.setText(line); } else { File fileIn = new File(path); - URL url = fileIn.toURL(); + URL url = fileIn.toURI().toURL(); Reader in = new InputStreamReader(url.openStream()); Document doc = newJRSTReader(in);
participants (1)
-
tchemit@users.labs.libre-entreprise.org