org.zkoss.zuss
Class ServletContextLocator

java.lang.Object
  extended by org.zkoss.zuss.ServletContextLocator
All Implemented Interfaces:
Locator

public class ServletContextLocator
extends java.lang.Object
implements Locator

A locator for a servlet context.

Author:
tomyeh

Constructor Summary
ServletContextLocator(javax.servlet.ServletContext ctx, java.lang.String dir, java.lang.String charset)
           
 
Method Summary
 java.io.Reader getResource(java.lang.String name)
          Returns the resource of the given name, or null if not found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContextLocator

public ServletContextLocator(javax.servlet.ServletContext ctx,
                             java.lang.String dir,
                             java.lang.String charset)
Method Detail

getResource

public java.io.Reader getResource(java.lang.String name)
                           throws java.io.IOException
Description copied from interface: Locator
Returns the resource of the given name, or null if not found.

Specified by:
getResource in interface Locator
Throws:
java.io.IOException


Copyright © 2005-2010 Potix Corporation. All Rights Reserved.