Class ExplodedExporterImpl
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
-
- org.jboss.shrinkwrap.impl.base.exporter.ExplodedExporterImpl
-
- All Implemented Interfaces:
Assignable
,ExplodedExporter
public class ExplodedExporterImpl extends AssignableBase<Archive<?>> implements ExplodedExporter
ExplodedExporterImpl Implementation of ExplodedExporter used to export an Archive as an exploded directory structure.- Version:
- $Revision: $
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Logger
log
Logger
-
Constructor Summary
Constructors Constructor Description ExplodedExporterImpl(Archive<?> archive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.io.File
export(Archive<?> archive, java.io.File outputDirectory)
java.io.File
exportExploded(java.io.File baseDirectory)
Exports provided archive as an exploded directory structure.java.io.File
exportExploded(java.io.File baseDirectory, java.lang.String directoryName)
Exports provided archive as an exploded directory structure.java.io.File
exportExplodedInto(java.io.File directory)
Exports provided archive as an exploded directory structure into the given directory.-
Methods inherited from class org.jboss.shrinkwrap.impl.base.AssignableBase
as, getArchive
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
-
-
-
-
Constructor Detail
-
ExplodedExporterImpl
public ExplodedExporterImpl(Archive<?> archive)
-
-
Method Detail
-
exportExploded
public java.io.File exportExploded(java.io.File baseDirectory)
Exports provided archive as an exploded directory structure.- Specified by:
exportExploded
in interfaceExplodedExporter
- Parameters:
baseDirectory
- Must be a folder- Returns:
- File for exploded archive contents
- See Also:
ExplodedExporter.exportExploded(java.io.File)
-
exportExploded
public java.io.File exportExploded(java.io.File baseDirectory, java.lang.String directoryName)
Exports provided archive as an exploded directory structure.- Specified by:
exportExploded
in interfaceExplodedExporter
- Parameters:
baseDirectory
- Must be a folderdirectoryName
- The exploded directory name- Returns:
- File for exploded archive contents
- See Also:
ExplodedExporter.exportExploded(java.io.File, java.lang.String)
-
exportExplodedInto
public java.io.File exportExplodedInto(java.io.File directory)
Description copied from interface:ExplodedExporter
Exports provided archive as an exploded directory structure into the given directory.- Specified by:
exportExplodedInto
in interfaceExplodedExporter
- Parameters:
directory
- Must be a folder- Returns:
- File for exploded archive contents
-
export
private java.io.File export(Archive<?> archive, java.io.File outputDirectory)
-
-