Uses of Interface
org.apache.hivemind.Resource

Packages that use Resource
org.apache.hivemind The main HiveMind package. 
org.apache.hivemind.impl Implementations of interfaces defined in the org.apache.commons.hivemind package. 
org.apache.hivemind.test Base classes and utilities to support unit tests involving HiveMind. 
org.apache.hivemind.util Implementations of Resource and related utilities. 
 

Uses of Resource in org.apache.hivemind
 

Methods in org.apache.hivemind that return Resource
 Resource Resource.getLocalization(java.util.Locale locale)
          Returns a localized version of this resource (or this resource, if no appropriate localization is found).
 Resource Resource.getRelativeResource(java.lang.String name)
          Returns at a relative location to this resource.
 Resource Location.getResource()
          The resource containing the location.
 

Uses of Resource in org.apache.hivemind.impl
 

Methods in org.apache.hivemind.impl that return Resource
 Resource LocationImpl.getResource()
           
 

Constructors in org.apache.hivemind.impl with parameters of type Resource
LocationImpl(Resource resource)
           
LocationImpl(Resource resource, int lineNumber)
           
LocationImpl(Resource resource, int lineNumber, int columnNumber)
           
MessageFinderImpl(Resource baseResource)
           
 

Uses of Resource in org.apache.hivemind.test
 

Methods in org.apache.hivemind.test that return Resource
protected  Resource HiveMindTestCase.getResource(java.lang.String file)
          Returns the given file as a Resource from the classpath.
 

Methods in org.apache.hivemind.test with parameters of type Resource
protected  Registry HiveMindTestCase.buildMinimalRegistry(Resource l)
          Builds a registry from exactly the provided resource; this registry will not include the hivemind module.
 

Uses of Resource in org.apache.hivemind.util
 

Classes in org.apache.hivemind.util that implement Resource
 class AbstractResource
          Abstract implementation of Resource.
 class ClasspathResource
          Implementation of Resource for resources found within the classpath.
 class ContextResource
          Implementation of Resource for resources found within the web application context.
 class FileResource
          An implementation of Resource built around File.
 class URLResource
          An implementation of Resource built around a string representation of a URL.
 

Methods in org.apache.hivemind.util that return Resource
 Resource URLResource.getLocalization(java.util.Locale locale)
          Always returns this location; no localization check occurs.
 Resource FileResource.getLocalization(java.util.Locale locale)
           
 Resource ContextResource.getLocalization(java.util.Locale locale)
          Locates the resource using LocalizedContextResourceFinder and ServletContext.getResource(java.lang.String).
 Resource ClasspathResource.getLocalization(java.util.Locale locale)
          Locates the localization of the resource using LocalizedResourceFinder.
 Resource AbstractResource.getRelativeResource(java.lang.String name)
           
protected  Resource URLResource.newResource(java.lang.String path)
           
protected  Resource FileResource.newResource(java.lang.String path)
           
protected  Resource ContextResource.newResource(java.lang.String path)
           
protected  Resource ClasspathResource.newResource(java.lang.String path)
           
protected abstract  Resource AbstractResource.newResource(java.lang.String path)
           
 



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.