org.apache.avalon.composition.data.builder
Interface TargetsCreator

All Known Implementing Classes:
SerializedTargetsCreator, TargetsBuilder

public interface TargetsCreator

Simple interface used to create a Targets from an input stream.

Version:
$Revision: 1.2 $ $Date: 2004/01/24 23:25:30 $
Author:
Avalon Development Team

Method Summary
 Targets createTargets(InputStream inputStream)
          Create a Targets instance from a stream.
 

Method Detail

createTargets

public Targets createTargets(InputStream inputStream)
                      throws Exception
Create a Targets instance from a stream.

Parameters:
inputStream - the stream that the target is loaded from
Returns:
the target directive collection
Throws:
Exception - if a error occurs during directive creation


Copyright © The Apache Software Foundation. All Rights Reserved.