ShrinkWrap Descriptors API Base 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api
Interface DescriptorExporter<T extends Descriptor>

Type Parameters:
T - Descriptor type supported

public interface DescriptorExporter<T extends Descriptor>

An entity capable of exporting a Descriptor to an OutputStream.

Author:
Andrew Lee Rubinger

Method Summary
 void to(T descriptor, OutputStream out)
          Exports the specified Descriptor to the specified OutputStream.
 

Method Detail

to

void to(T descriptor,
        OutputStream out)
        throws DescriptorExportException,
               IllegalArgumentException
Exports the specified Descriptor to the specified OutputStream.

Parameters:
descriptor -
out -
Throws:
DescriptorExportException - If an error occurred during export
IllegalArgumentException - If either argument is not specified

ShrinkWrap Descriptors API Base 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.