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().
-
Method Summary
Modifier and TypeMethodDescriptioncreateEntry
(byte[] headerBuf) createEntry
(File path) createEntry
(String name)
-
Method Details
-
createEntry
-
createEntry
- Throws:
InvalidHeaderException
-
createEntry
- Throws:
InvalidHeaderException
-