ShrinkWrap Implementation Base 1.0.1

org.jboss.shrinkwrap.impl.base.importer.tar
Class TarGzImporterImpl

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
      extended by org.jboss.shrinkwrap.impl.base.importer.tar.TarGzImporterImpl
All Implemented Interfaces:
Assignable, StreamImporter<TarGzImporter>, TarGzImporter

public class TarGzImporterImpl
extends AssignableBase<Archive<?>>
implements TarGzImporter

Used to import existing TAR.GZ files/streams into the given Archive

Author:
ALR

Constructor Summary
TarGzImporterImpl(Archive<?> archive)
           
 
Method Summary
 I importFrom(File file)
          
 I importFrom(InputStream stream)
          
 
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.importer.StreamImporter
importFrom, importFrom
 
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
 

Constructor Detail

TarGzImporterImpl

public TarGzImporterImpl(Archive<?> archive)
Method Detail

importFrom

public I importFrom(InputStream stream)
                                       throws ArchiveImportException

Specified by:
importFrom in interface StreamImporter<I extends StreamImporter<I>>
Throws:
ArchiveImportException
See Also:
StreamImporter.importFrom(java.io.InputStream)

importFrom

public I importFrom(File file)
                                       throws ArchiveImportException

Specified by:
importFrom in interface StreamImporter<I extends StreamImporter<I>>
Throws:
ArchiveImportException
See Also:
org.jboss.shrinkwrap.api.importer.StreamImporter#importFrom(java.lang.Object)

ShrinkWrap Implementation Base 1.0.1

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