/[cashew-s-editor]/cashews/src/nongnu/cashews/eclipse/composer/model/Diagram.java
ViewVC logotype

Diff of /cashews/src/nongnu/cashews/eclipse/composer/model/Diagram.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by gnu_andrew, Thu Mar 31 17:35:21 2005 UTC revision 1.2 by gnu_andrew, Thu May 5 23:47:58 2005 UTC
# Line 90  public List getNodes() Line 90  public List getNodes()
90    
91  public InputStream getAsStream() throws IOException  public InputStream getAsStream() throws IOException
92  {  {
  /*  
   * ByteArrayOutputStream os = new ByteArrayOutputStream();  
   * ObjectOutputStream out = new ObjectOutputStream(os);  
   * out.writeObject(this); out.close(); InputStream istream = new  
   * ByteArrayInputStream(os.toByteArray()); os.close(); return istream;  
   */  
93   ByteArrayOutputStream os = new ByteArrayOutputStream();   ByteArrayOutputStream os = new ByteArrayOutputStream();
94   BufferedOutputStream o = new BufferedOutputStream(os);   BufferedOutputStream o = new BufferedOutputStream(os);
95   o.write(this.toXML().getBytes());   o.write(this.toXML().getBytes());

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26