ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base.io.tar
Class TarInputStream.EntryAdapter

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.io.tar.TarInputStream.EntryAdapter
All Implemented Interfaces:
TarInputStream.EntryFactory
Enclosing class:
TarInputStream

public class TarInputStream.EntryAdapter
extends Object
implements TarInputStream.EntryFactory


Constructor Summary
TarInputStream.EntryAdapter()
           
 
Method Summary
 TarEntry createEntry(byte[] headerBuf)
           
 TarEntry createEntry(File path)
           
 TarEntry createEntry(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TarInputStream.EntryAdapter

public TarInputStream.EntryAdapter()
Method Detail

createEntry

public TarEntry createEntry(String name)
Specified by:
createEntry in interface TarInputStream.EntryFactory

createEntry

public TarEntry createEntry(File path)
                     throws InvalidHeaderException
Specified by:
createEntry in interface TarInputStream.EntryFactory
Throws:
InvalidHeaderException

createEntry

public TarEntry createEntry(byte[] headerBuf)
                     throws InvalidHeaderException
Specified by:
createEntry in interface TarInputStream.EntryFactory
Throws:
InvalidHeaderException

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.