public abstract class TarExporterDelegateBase<T extends TarOutputStreamImpl> extends StreamExporterDelegateBase<T>
latch, outputStream
Constructor and Description |
---|
TarExporterDelegateBase(Archive<?> archive)
Creates a new exporter delegate for exporting archives
|
Modifier and Type | Method and Description |
---|---|
protected void |
closeEntry(T outputStream)
Closes the current entry context for the specified
OutputStream |
protected Callable<Void> |
getExportTask(Callable<Void> wrappedTask)
Returns the task used to run the export operation in another Thread.
|
protected void |
putNextExtry(T outputStream,
String context)
Writes the next entry (demarcates a new file/folder is to be written)
|
createOutputStream, doExport, getExportedPaths, getResult, processNode
export, getArchive
public TarExporterDelegateBase(Archive<?> archive)
protected final void closeEntry(T outputStream) throws IOException
OutputStream
closeEntry
in class StreamExporterDelegateBase<T extends TarOutputStreamImpl>
IOException
StreamExporterDelegateBase.closeEntry(java.io.OutputStream)
protected final void putNextExtry(T outputStream, String context) throws IOException
putNextExtry
in class StreamExporterDelegateBase<T extends TarOutputStreamImpl>
IOException
- If an error occurred writing the entryStreamExporterDelegateBase.putNextExtry(java.io.OutputStream,
java.lang.String)
protected Callable<Void> getExportTask(Callable<Void> wrappedTask)
getExportTask
in class StreamExporterDelegateBase<T extends TarOutputStreamImpl>
wrappedTask
- The export task to be wrapped in more specific handling logicorg.jboss.shrinkwrap.impl.base.exporter.StreamExporterDelegateBase#getExportTask()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.