org.apache.lenya.util
Class SSI

java.lang.Object
  extended by org.apache.lenya.util.SSI

Deprecated.

public class SSI
extends java.lang.Object

SSI - Server Side Include, which can be used within a ResourceReader supporting SSI


Constructor Summary
SSI()
          Deprecated.  
 
Method Summary
 void includeFile(java.lang.String fileName, boolean virtual, java.io.OutputStream out)
          Deprecated. Read the specified file and parse server side include instructions
static void main(java.lang.String[] args)
          Deprecated.  
 void parseStream(java.io.InputStream in, java.io.OutputStream out)
          Deprecated. Parse server side include instruction in the input stream and put the input stream together with the includes to the output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSI

public SSI()
Deprecated. 
Method Detail

main

public static void main(java.lang.String[] args)
Deprecated. 

includeFile

public void includeFile(java.lang.String fileName,
                        boolean virtual,
                        java.io.OutputStream out)
                 throws java.io.IOException
Deprecated. 
Read the specified file and parse server side include instructions

Parameters:
fileName - The file path to read in
virtual - Whether the fileName parameter is absolute or relative to the document root of the web server
out - The OutputStream where to write output to
Throws:
java.io.IOException

parseStream

public void parseStream(java.io.InputStream in,
                        java.io.OutputStream out)
                 throws java.io.IOException
Deprecated. 
Parse server side include instruction in the input stream and put the input stream together with the includes to the output stream

Parameters:
in - The input stream with instruction inline
out - The output stream
Throws:
java.io.IOException


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.