irc
Class AppletFileHandler

java.lang.Object
  |
  +--irc.AppletFileHandler
All Implemented Interfaces:
FileHandler

public class AppletFileHandler
extends java.lang.Object
implements FileHandler

File handling from applet.


Constructor Summary
AppletFileHandler(java.applet.Applet app)
          Create a new AppletFileHandler, using the given Applet.
 
Method Summary
 java.io.InputStream getInputStream(java.lang.String fileName)
          Get an input stream from the given filename.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppletFileHandler

public AppletFileHandler(java.applet.Applet app)
Create a new AppletFileHandler, using the given Applet.

Parameters:
app - the applet to use.
Method Detail

getInputStream

public java.io.InputStream getInputStream(java.lang.String fileName)
Description copied from interface: FileHandler
Get an input stream from the given filename.

Specified by:
getInputStream in interface FileHandler
Parameters:
fileName - file name to get inputstream from.
Returns:
inputstream from the file, or null if unable.