home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 January / PCO0198.ISO / browser / net_linx / java40.jar / netscape / plugin / composer / Document.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-11-03  |  873 b   |  43 lines

  1. package netscape.plugin.composer;
  2.  
  3. import java.io.File;
  4. import java.io.IOException;
  5. import java.io.Reader;
  6. import java.io.Writer;
  7. import java.net.URL;
  8.  
  9. public abstract class Document {
  10.    public abstract URL getBase();
  11.  
  12.    public abstract File getWorkDirectory();
  13.  
  14.    public abstract URL getWorkDirectoryURL();
  15.  
  16.    public abstract Reader getInput() throws IOException;
  17.  
  18.    public abstract Writer getOutput() throws IOException;
  19.  
  20.    public abstract String getText() throws IOException;
  21.  
  22.    public abstract void setText(String var1) throws IOException;
  23.  
  24.    public String getEventName() {
  25.       return null;
  26.    }
  27.  
  28.    public URL getDocumentURL() {
  29.       return null;
  30.    }
  31.  
  32.    public void redirectDocumentOpen(String var1) {
  33.    }
  34.  
  35.    public static void editDocument(String var0) {
  36.       try {
  37.          Composer.editDocument(var0);
  38.       } catch (Throwable var2) {
  39.          var2.printStackTrace();
  40.       }
  41.    }
  42. }
  43.