net.wimpi.text
Interface ProcessingResource
- All Known Implementing Classes:
- PatternMatchingResource
- public interface ProcessingResource
Interface that defines a processing resource.
Actually this interface tags the implementing class
and only requires it to have a factory method for
creating instances.
The factory method is used for creating pools of the
resource.
- Version:
- 0.2 19/11/2002
- Author:
- Dieter Wimberger
- See Also:
ResourcePool
createResource
public ProcessingResource createResource()
- Returns a reference to a
ProcessingResource
.
This resource can be either newly created or cloned, however
the implementation wishes to handle it.
- Returns:
- the newly created or cloned
ProcessingResource
instance.
Copyright © 2001,2002 Dieter Wimberger. All Rights Reserved.