hudson.plugins.locale
Class PluginImpl
java.lang.Object
hudson.Plugin
hudson.plugins.locale.PluginImpl
- All Implemented Interfaces:
- hudson.model.Saveable
public class PluginImpl
- extends hudson.Plugin
- Author:
- Kohsuke Kawaguchi
| Fields inherited from class hudson.Plugin |
NONE |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class hudson.Plugin |
configure, doDynamic, postInitialize, save, setServletContext, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginImpl
public PluginImpl()
start
public void start()
throws java.lang.Exception
- Overrides:
start in class hudson.Plugin
- Throws:
java.lang.Exception
load
protected void load()
throws java.io.IOException
- Overrides:
load in class hudson.Plugin
- Throws:
java.io.IOException
getConfigXml
protected hudson.XmlFile getConfigXml()
- Overrides:
getConfigXml in class hudson.Plugin
configure
public void configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jsonObject)
throws java.io.IOException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
- Overrides:
configure in class hudson.Plugin
- Throws:
java.io.IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
isIgnoreAcceptLanguage
public boolean isIgnoreAcceptLanguage()
getSystemLocale
public java.lang.String getSystemLocale()
setSystemLocale
public void setSystemLocale(java.lang.String systemLocale)
throws java.io.IOException
- Throws:
java.io.IOException
parse
public static java.util.Locale parse(java.lang.String s)
- Parses a string like "ja_JP" into a
Locale object.
Copyright © 2009. All Rights Reserved.