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

All Known Implementing Classes:
ContainmentProfileBuilder, SerializedContainmentProfileCreator

public interface ContainmentProfileCreator

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

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

Method Summary
 ContainmentProfile createContainmentProfile(InputStream stream)
          Create a ContainmentProfile from a stream.
 

Method Detail

createContainmentProfile

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

Parameters:
stream - the stream that the resource is loaded from
Returns:
the containment profile
Throws:
Exception - if a error occurs during profile creation


Copyright © The Apache Software Foundation. All Rights Reserved.