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

java.lang.Object
  extended byorg.apache.avalon.composition.data.builder.SerializedTargetsCreator
All Implemented Interfaces:
TargetsCreator

public class SerializedTargetsCreator
extends Object
implements TargetsCreator

Create Targets from stream made up of serialized object.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/09/24 09:31:26 $
Author:
Avalon Development Team

Constructor Summary
SerializedTargetsCreator()
           
 
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

SerializedTargetsCreator

public SerializedTargetsCreator()
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 © Apache Software Foundation. All Rights Reserved.