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

java.lang.Object
  extended byorg.apache.avalon.composition.data.builder.ContainmentProfileBuilder
All Implemented Interfaces:
ContainmentProfileCreator

public final class ContainmentProfileBuilder
extends Object
implements ContainmentProfileCreator

A ContainmentProfileBuilder is responsible for building ContainmentProfile objects from a configuration object.

Version:
$Revision: 1.3 $ $Date: 2003/10/28 20:21:00 $
Author:
Avalon Development Team

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

Constructor Detail

ContainmentProfileBuilder

public ContainmentProfileBuilder()
Method Detail

createContainmentProfile

public ContainmentProfile createContainmentProfile(InputStream inputStream)
                                            throws Exception
Create a ContainmentProfile from a stream.

Specified by:
createContainmentProfile in interface ContainmentProfileCreator
Parameters:
inputStream - the stream that the resource is loaded from
Returns:
the containment profile
Throws:
Exception - if a error occurs during profile creation


Copyright © Apache Software Foundation. All Rights Reserved.