Changeset 89 for trunk/EventBenchConsole
- Timestamp:
- 06/23/11 15:55:27 (14 years ago)
- Location:
- trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDload.java
r88 r89 7 7 import java.util.List; 8 8 9 import de.ugoe.cs.eventbench.data.GlobalDataContainer;10 9 import de.ugoe.cs.util.console.Command; 11 10 import de.ugoe.cs.util.console.Console; … … 22 21 } 23 22 24 Object data = null;25 23 FileInputStream fis = null; 26 24 ObjectInputStream in = null; … … 28 26 fis = new FileInputStream(filename); 29 27 in = new ObjectInputStream(fis); 30 data =in.readObject();28 in.readObject(); 31 29 in.close(); 32 30 } catch (IOException ex) { -
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDloadObject.java
r87 r89 15 15 @Override 16 16 public void run(List<Object> parameters) { 17 // TODO Auto-generated method stub18 17 String filename; 19 18 String objectName; … … 45 44 @Override 46 45 public void help() { 47 // TODO Auto-generated method stub48 46 Console.println("Usage: loadObject <filename> <objectName>"); 49 47 }
Note: See TracChangeset
for help on using the changeset viewer.