org.mortbay.html
public class Include extends Element
This Element includes another file. This class expects that the HTTP directory separator '/' will be used. This will be converted to the local directory separator.
Version: $Id: Include.java,v 1.6 2005/08/13 00:01:23 gregwilkins Exp $
See Also: Element
Constructor Summary | |
---|---|
Include(String directory, String fileName) Constructor.
| |
Include(String fileName) Constructor.
| |
Include(File file) Constructor.
| |
Include(InputStream in) Constructor.
| |
Include(URL url) Constructor.
| |
Include(Reader in) Constructor.
|
Method Summary | |
---|---|
void | write(Writer out) |
Parameters: directory Directory name fileName file name
Throws: IOException File not found
Parameters: fileName Filename
Throws: IOException File not found
Parameters: file file
Throws: IOException File not found
Parameters: in stream
Throws: IOException
Parameters: url the URL to read from.
Throws: IOException
Parameters: in reader
Throws: IOException