home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 January / PCO0198.ISO / browser / net_linx / java40.jar / netscape / applet / EmbeddedProgramTracker.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-11-03  |  1.3 KB  |  46 lines

  1. package netscape.applet;
  2.  
  3. import java.net.URL;
  4. import netscape.application.Application;
  5. import netscape.util.Enumeration;
  6.  
  7. public class EmbeddedProgramTracker {
  8.    EmbeddedObject eop;
  9.  
  10.    EmbeddedProgramTracker(EmbeddedObject var1) {
  11.       this.eop = var1;
  12.    }
  13.  
  14.    public String className() {
  15.       return this.eop.className;
  16.    }
  17.  
  18.    public URL documentURL() {
  19.       return this.eop.documentURL();
  20.    }
  21.  
  22.    public URL codebaseURL() {
  23.       return this.eop.codebaseURL();
  24.    }
  25.  
  26.    public String attribute(String var1) {
  27.       return (String)this.eop.attributes().get(var1.toLowerCase());
  28.    }
  29.  
  30.    public String parameter(String var1) {
  31.       return (String)this.eop.parameters().get(var1.toLowerCase());
  32.    }
  33.  
  34.    public Enumeration parameterKeys() {
  35.       return this.eop.parameters().keys();
  36.    }
  37.  
  38.    public Enumeration parameterValues() {
  39.       return this.eop.parameters().elements();
  40.    }
  41.  
  42.    public Application application() {
  43.       return this.eop.task.application();
  44.    }
  45. }
  46.