com.gentics.cr.portlet.language
Class ResourceBundleFactory

java.lang.Object
  extended by com.gentics.cr.portlet.language.ResourceBundleFactory

public final class ResourceBundleFactory
extends Object

A factory for creating LanguageResolver objects.

 

Field Summary
private static LanguageResourceBundle bundle
          The resolver.
private static org.apache.log4j.Logger log
          The Constant LOG.
 
Constructor Summary
private ResourceBundleFactory()
          Instantiates a new language resolver factory.
 
Method Summary
private static void createBundle()
          Creates a new LanguageResolver object.
static LanguageResourceBundle getBundle()
          Gets the resolver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.log4j.Logger log
The Constant LOG.


bundle

private static LanguageResourceBundle bundle
The resolver.

Constructor Detail

ResourceBundleFactory

private ResourceBundleFactory()
Instantiates a new language resolver factory.

Method Detail

getBundle

public static LanguageResourceBundle getBundle()
Gets the resolver.

Returns:
the resolver

createBundle

private static void createBundle()
                          throws InstantiationException
Creates a new LanguageResolver object.

Throws:
InstantiationException


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.