Framework Professional Edition Package


com.prosyst.mbs.services.http.jsp
Interface JspMagicBase

All Known Implementing Classes:
JspBestPerformanceBase, JspLeastMemoryBase

public interface JspMagicBase

This class is not designed for direct usage by Jsp Developers. It is used by the Jsp Tool to provide a base for Jsp Implementation Classes, which should read their static contents from a resource file.


Method Summary
 void _jspPrintBytes(byte[] b, int off, int length, JspMagicWriter wr)
          Prints length bytes, starting at position offset from the byte array b.
 void _jspPrintBytes(int startPos, int len, JspMagicWriter wr)
          Prints len bytes, starting at startPos in the static resource contents.
 void _jspSetResourceName(java.lang.String resName)
          Invoked by the Jsp Implementation Class to set the name of the resource file with the jsp static contents.
 

Method Detail

_jspSetResourceName

void _jspSetResourceName(java.lang.String resName)
Invoked by the Jsp Implementation Class to set the name of the resource file with the jsp static contents.

Parameters:
resName - static contents resource file

_jspPrintBytes

void _jspPrintBytes(int startPos,
                    int len,
                    JspMagicWriter wr)
                    throws java.io.IOException
Prints len bytes, starting at startPos in the static resource contents. Bytes are written to the jsp magic writer.

Parameters:
startPos - pos in the internal structure, that keeps static contents
len - number of bytes to write
Throws:
java.io.IOException

_jspPrintBytes

void _jspPrintBytes(byte[] b,
                    int off,
                    int length,
                    JspMagicWriter wr)
                    throws java.io.IOException
Prints length bytes, starting at position offset from the byte array b. Bytes are printed into jsp magic writer.

Parameters:
b -
off -
length -
Throws:
java.io.IOException

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved