Interface StreamExporter

All Superinterfaces:
Assignable
All Known Subinterfaces:
TarBz2Exporter, TarExporter, TarGzExporter, ZipExporter
All Known Implementing Classes:
AbstractStreamExporterImpl, TarBz2ExporterImpl, TarExporterImpl, TarGzExporterImpl, ZipExporterImpl

public interface StreamExporter extends Assignable
Generic exporter capable of representing an Assignable as an InputStream, or writing its contents to a provided OutputStream or File.
Version:
$Revision: $
  • Method Summary

    Modifier and Type
    Method
    Description
    Exports this reference in an implementation-specific format represented by the returned new InputStream instance
    void
    exportTo(File target)
    Exports provided archive as in an implementation-specific format, written to the specified File target.
    void
    exportTo(File target, boolean overwrite)
    Exports provided archive an implementation-specific format, written to the specified File target.
    void
    Exports provided archive in an implementation-specific format, written to the specified OutputStream target.

    Methods inherited from interface org.jboss.shrinkwrap.api.Assignable

    as