Changeset 46
- Timestamp:
- 05/14/08 18:06:40 (16 years ago)
- Location:
- trunk/src/org/expeditee/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/io/DefaultTreeWriter.java
r4 r46 15 15 // the list of frames currently being processed 16 16 private Stack<FrameCounter> _frames = new Stack<FrameCounter>(); 17 18 17 private int _frameCount = 0; 18 19 public int getFrameCount() { 20 return _frameCount; 21 } 19 22 20 23 public String writeTree(Frame toWrite) throws IOException { … … 84 87 FrameGraphics.OverwriteMessage("Writing: " 85 88 + next.getFrameName()); 86 _frameCount ++;89 _frameCount ++; 87 90 writeStartFrame(next); 88 91 } … … 107 110 this.writeStartLink(item); 108 111 109 Frame linked = FrameIO.LoadFrame(item.get Link());112 Frame linked = FrameIO.LoadFrame(item.getAbsoluteLink()); 110 113 111 114 // if the linked frame was found, then display it next … … 135 138 136 139 protected String finaliseTree() throws IOException { 137 return "Tree of " + _frameCount + " frames" + finalise();140 return "Tree" + finalise(); 138 141 } 139 142 -
trunk/src/org/expeditee/io/TreeWriter.java
r4 r46 8 8 9 9 public String writeTree(Frame toWrite) throws IOException; 10 11 public int getFrameCount(); 10 12 }
Note:
See TracChangeset
for help on using the changeset viewer.