public class HippoRepositoryResourceBundleFamilyFactory extends Object implements ResourceBundleFamilyFactory
HippoRepositoryResourceBundleFamilyFactory queries JCR Nodes (the type of which should be 'resourcebundle:resourcebundle') for both live and preview modes, and adds all the bundles for each mode and locale.
Constructor and Description |
---|
HippoRepositoryResourceBundleFamilyFactory(javax.jcr.Repository repository,
javax.jcr.Credentials liveCredentials,
javax.jcr.Credentials previewCredentials) |
Modifier and Type | Method and Description |
---|---|
ResourceBundleFamily |
createBundleFamily(String basename)
Creates and returns a resource bundle family based on the specified basename.
|
protected Map<String,String> |
createListResourceBundleContents(String[] keys,
String[] messages) |
public HippoRepositoryResourceBundleFamilyFactory(javax.jcr.Repository repository, javax.jcr.Credentials liveCredentials, javax.jcr.Credentials previewCredentials)
public ResourceBundleFamily createBundleFamily(String basename)
ResourceBundleFamilyFactory
createBundleFamily
in interface ResourceBundleFamilyFactory
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.