hudson.plugins.locale
Class PluginImpl

java.lang.Object
  extended by hudson.Plugin
      extended by hudson.plugins.locale.PluginImpl

public class PluginImpl
extends hudson.Plugin

Author:
Kohsuke Kawaguchi

Constructor Summary
PluginImpl()
           
 
Method Summary
 void configure(net.sf.json.JSONObject jsonObject)
           
 java.lang.String getSystemLocale()
           
 boolean isIgnoreAcceptLanguage()
           
static java.util.Locale parse(java.lang.String s)
          Parses a string like "ja_JP" into a Locale object.
 void setSystemLocale(java.lang.String systemLocale)
           
 void start()
           
 
Methods inherited from class hudson.Plugin
doDynamic, setServletContext, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginImpl

public PluginImpl()
Method Detail

start

public void start()
           throws java.lang.Exception
Overrides:
start in class hudson.Plugin
Throws:
java.lang.Exception

configure

public void configure(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 © 2008. All Rights Reserved.