org.apache.avalon.composition.data.builder
Class TargetsBuilder
java.lang.Object
org.apache.avalon.composition.data.builder.TargetsBuilder
- All Implemented Interfaces:
- TargetsCreator
- public final class TargetsBuilder
- extends Object
- implements TargetsCreator
A TargetsBuilderis responsible for building Targets
objects from a configuration object.
- Version:
- $Revision: 1.1.1.2 $ $Date: 2004/05/19 09:28:51 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TargetsBuilder
public TargetsBuilder()
createTargets
public Targets createTargets(InputStream inputStream)
throws Exception
- Create a
Targets
instance from a stream.
- Specified by:
createTargets
in interface TargetsCreator
- Parameters:
inputStream
- the stream that the resource is loaded from
- Returns:
- the target directive
- Throws:
Exception
- if a error occurs during directive creation
Copyright © The Apache Software Foundation. All Rights Reserved.