Changeset 22 for trunk/src/org/expeditee/agents
- Timestamp:
- 05/09/08 09:31:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/agents/WriteTree.java
r4 r22 45 45 int ind = params.indexOf(" "); 46 46 if (ind > 0) { 47 String param = params.substring(ind + 1);47 String lastParam = params.substring(ind + 1); 48 48 _format = params.substring(0, ind).toLowerCase(); 49 49 50 if ( param.equals("clipboard"))50 if (lastParam.equals("clipboard")) 51 51 _clipboard = true; 52 52 else 53 _outFile = param; 54 } 53 _outFile = lastParam; 54 } 55 } 56 57 public WriteTree(String format, String outFile) { 58 _format = format; 59 _outFile = outFile; 55 60 } 56 61 … … 62 67 @Override 63 68 public boolean initialise(Frame start) { 64 _outFile = start.getExportFileName(); 69 if (_outFile == null) 70 _outFile = start.getExportFileName(); 65 71 66 72 try {
Note:
See TracChangeset
for help on using the changeset viewer.