Package helma.framework.repository
Class AbstractResource
java.lang.Object
helma.framework.repository.AbstractResource
- All Implemented Interfaces:
Resource
- Direct Known Subclasses:
FileResource
,ZipResource
Abstract resource base class that implents get/setOverloadedResource.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a Resource this Resource is overloadingvoid
Method for registering a Resource this Resource is overloadingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface helma.framework.repository.Resource
exists, getBaseName, getContent, getContent, getInputStream, getLength, getName, getRepository, getShortName, getUrl, lastModified
-
Field Details
-
overloaded
-
-
Constructor Details
-
AbstractResource
public AbstractResource()
-
-
Method Details
-
setOverloadedResource
Method for registering a Resource this Resource is overloading- Specified by:
setOverloadedResource
in interfaceResource
- Parameters:
res
- the overloaded resource
-
getOverloadedResource
Get a Resource this Resource is overloading- Specified by:
getOverloadedResource
in interfaceResource
- Returns:
- the overloaded resource
-