public class ServletLabelLocator extends java.lang.Object implements LabelLocator
| Constructor and Description |
|---|
ServletLabelLocator(javax.servlet.ServletContext ctx)
Constructs a locator where the properties file is decided
by the library property called org.zkoss.util.label.web.location.
|
ServletLabelLocator(javax.servlet.ServletContext ctx,
java.lang.String path)
Constructs a locator for the given path.
|
public ServletLabelLocator(javax.servlet.ServletContext ctx)
public ServletLabelLocator(javax.servlet.ServletContext ctx,
java.lang.String path)
path - the path of the properties filefile://path is supported (but not http://).public java.net.URL locate(java.util.Locale locale)
throws java.io.IOException
LabelLocatorIt must be thread-safe.
locate in interface LabelLocatorjava.io.IOExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005-2011 Potix Corporation. All Rights Reserved.