Package org.pentaho.reporting.libraries.resourceloader.cache

Examples of org.pentaho.reporting.libraries.resourceloader.cache.CachingResourceBundleData


      throws ResourceCreationException, ResourceLoadingException
  {
    if (data instanceof CachingResourceBundleData)
    {
      // todo: Friggin' cheap hack
      final CachingResourceBundleData cachingResourceBundleData = (CachingResourceBundleData) data;
      data = cachingResourceBundleData.getBackend();
    }
    if (data instanceof RepositoryResourceBundleData == false)
    {
      data = manager.loadResourceBundle(data.getKey());
      if (data instanceof CachingResourceBundleData)
      {
        // todo: Friggin' cheap hack 2
        final CachingResourceBundleData cachingResourceBundleData = (CachingResourceBundleData) data;
        data = cachingResourceBundleData.getBackend();
      }
    }
    if (data instanceof RepositoryResourceBundleData == false)
    {
      throw new ContentNotRecognizedException("No valid handler for the given content.");
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.resourceloader.cache.CachingResourceBundleData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.