source: trunk/src/org/expeditee/io/FrameWriter.java@ 306

Last change on this file since 306 was 306, checked in by ra33, 16 years ago

Added some HELP actions
More mail stuff... and networking stuff
Can now save frames and send messages to peers
Also version control prevent versions from being lost

File size: 608 bytes
Line 
1package org.expeditee.io;
2
3import java.io.IOException;
4import java.io.Writer;
5
6import org.expeditee.gui.Frame;
7
8public interface FrameWriter {
9
10 public void setOutputLocation(String filename);
11
12 public String writeFrame(Frame toWrite) throws IOException;
13
14 /**
15 * Methods for writing out frames to file as well as with other writers such
16 * as StringWriter.
17 *
18 * @param toWrite
19 * @param writer
20 * @return
21 * @throws IOException
22 */
23 public String writeFrame(Frame toWrite, Writer writer) throws IOException;
24
25 public void stop();
26
27 public boolean isRunning();
28
29 public String getFileContents();
30}
Note: See TracBrowser for help on using the repository browser.