Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.conf
Interface ResourceFinder

All Known Implementing Classes:
  ClasspathResourceFinder, ResourceLocator, WebApplicationResourceLocator

    public interface ResourceFinder

An object that defines a strategy for locating stream resources.

Since:
  3.0

Method Summary
`URL` | `getResource(String name)` Returns a single resource matching a given name.
`Collection<URL>` | `getResources(String name)` Returns a collection of resource URLs with a given name found in the environment using some lookup strategy.

Method Detail

### getResources

    Collection<URL> getResources(String name)

  Returns a collection of resource URLs with a given name found in the environment using some lookup strategy.

### getResource

    URL getResource(String name)

  Returns a single resource matching a given name. If more than one resource matches the name, it is implementation specific which one will be returned.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.