ShrinkWrap Implementation Base 1.0.1

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

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

public class TarImporterImpl
extends AssignableBase<Archive<?>>
implements TarImporter

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

Author:
ALR

Constructor Summary
TarImporterImpl(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

TarImporterImpl

public TarImporterImpl(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.