Interface TarInputStream.EntryFactory
-
- All Known Implementing Classes:
TarInputStream.EntryAdapter
- Enclosing class:
- TarInputStream
public static interface TarInputStream.EntryFactoryThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TarEntrycreateEntry(byte[] headerBuf)TarEntrycreateEntry(java.io.File path)TarEntrycreateEntry(java.lang.String name)
-
-
-
Method Detail
-
createEntry
TarEntry createEntry(java.lang.String name)
-
createEntry
TarEntry createEntry(java.io.File path) throws InvalidHeaderException
- Throws:
InvalidHeaderException
-
createEntry
TarEntry createEntry(byte[] headerBuf) throws InvalidHeaderException
- Throws:
InvalidHeaderException
-
-