org.apache.avalon.composition.data.builder
Class TargetsBuilder

java.lang.Object
  extended byorg.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

Constructor Summary
TargetsBuilder()
           
 
Method Summary
 Targets createTargets(InputStream inputStream)
          Create a Targets instance from a stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetsBuilder

public TargetsBuilder()
Method Detail

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.