Changeset 45 for trunk/EventBenchConsole
- Timestamp:
- 05/18/11 14:12:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/LogParser.java
r4 r45 2 2 3 3 import java.io.File; 4 import java.io.FileInputStream; 4 5 import java.io.FileNotFoundException; 5 import java.io.FileReader;6 6 import java.io.IOException; 7 import java.io.InputStreamReader; 8 import java.io.UnsupportedEncodingException; 7 9 import java.security.InvalidParameterException; 8 10 import java.util.LinkedList; … … 148 150 try { 149 151 saxParser = spf.newSAXParser(); 150 inputSource = new InputSource(new FileReader(filename)); 152 inputSource = new InputSource(new InputStreamReader(new FileInputStream(filename), "UTF-16")); 153 } catch (UnsupportedEncodingException e) { 154 e.printStackTrace(); 151 155 } catch (ParserConfigurationException e) { 152 156 e.printStackTrace();
Note: See TracChangeset
for help on using the changeset viewer.