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
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
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.