public class ServletLabelLocator extends Object implements org.zkoss.util.resource.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,
String path)
Constructs a locator for the given path.
|
public ServletLabelLocator(javax.servlet.ServletContext ctx)
public ServletLabelLocator(javax.servlet.ServletContext ctx,
String path)
path - the path of the properties filefile://path is supported (but not http://).public URL locate(Locale locale) throws IOException
locate in interface org.zkoss.util.resource.LabelLocatorIOExceptionCopyright © 2016. All rights reserved.