| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--de.mud.jta.Plugin
        |
        +--de.mud.jta.plugin.URLFilter
Maintainer: Matthias L. Jugel
| Field Summary | |
| protected  java.applet.AppletContext | context | 
| protected  java.io.PipedInputStream | pin | 
| protected  java.io.PipedOutputStream | pout | 
| protected  java.util.Vector | protocols | 
| protected  FilterPlugin | sourceholds the data source for input and output | 
| protected  javax.swing.JList | urlList | 
| protected  javax.swing.JMenu | urlMenu | 
| protected  javax.swing.JPanel | urlPanel | 
| Fields inherited from class de.mud.jta.Plugin | 
| bus, id | 
| Constructor Summary | |
| URLFilter(PluginBus bus,
          java.lang.String id)Create a new scripting plugin. | |
| Method Summary | |
|  FilterPlugin | getFilterSource() | 
|  javax.swing.JMenu | getPluginMenu()Get the menu entry for this component. | 
|  javax.swing.JComponent | getPluginVisual()Get the visible components from the plugin. | 
|  int | read(byte[] b)Read an array of bytes from the back end and send it to the url parser to see if it matches. | 
|  void | run() | 
|  void | setFilterSource(FilterPlugin plugin)Set the filter source where we can read data from and where to write the script answer to. | 
| protected  void | showURL(java.lang.String url)Show a URL if the applet context is available. | 
|  void | write(byte[] b)Write a block of data to the back end. | 
| Methods inherited from class de.mud.jta.Plugin | 
| error, getId | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected java.util.Vector protocols
protected javax.swing.JList urlList
protected javax.swing.JPanel urlPanel
protected javax.swing.JMenu urlMenu
protected java.io.PipedInputStream pin
protected java.io.PipedOutputStream pout
protected java.applet.AppletContext context
protected FilterPlugin source
| Constructor Detail | 
public URLFilter(PluginBus bus,
                 java.lang.String id)
| Method Detail | 
public void run()
run in interface java.lang.Runnableprotected void showURL(java.lang.String url)
url - the URL to displaypublic void setFilterSource(FilterPlugin plugin)
setFilterSource in interface FilterPluginplugin - the filter plugin we use as sourcepublic FilterPlugin getFilterSource()
getFilterSource in interface FilterPlugin
public int read(byte[] b)
         throws java.io.IOException
read in interface FilterPluginb - the array where to read the bytes in
java.io.IOException
public void write(byte[] b)
           throws java.io.IOException
FilterPlugin
write in interface FilterPluginb - the buffer to be sent
java.io.IOExceptionpublic javax.swing.JComponent getPluginVisual()
VisualPlugin
getPluginVisual in interface VisualPluginpublic javax.swing.JMenu getPluginMenu()
VisualPlugin
getPluginMenu in interface VisualPlugin| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||