org.jboss.shrinkwrap.impl.base.io.tar
Interface TarInputStream.EntryFactory
- All Known Implementing Classes:
- TarInputStream.EntryAdapter
- Enclosing class:
- TarInputStream
public static interface TarInputStream.EntryFactory
This interface is provided, with the method setEntryFactory(), to allow the programmer to have their own TarEntry
subclass instantiated for the entries return from getNextEntry().
createEntry
TarEntry createEntry(String name)
createEntry
TarEntry createEntry(File path)
throws InvalidHeaderException
- Throws:
InvalidHeaderException
createEntry
TarEntry createEntry(byte[] headerBuf)
throws InvalidHeaderException
- Throws:
InvalidHeaderException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.