com.ice.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().


Method Summary
 TarEntry createEntry(byte[] headerBuf)
           
 TarEntry createEntry(File path)
           
 TarEntry createEntry(String name)
           
 

Method Detail

createEntry

public TarEntry createEntry(String name)

createEntry

public TarEntry createEntry(File path)
                     throws InvalidHeaderException

createEntry

public TarEntry createEntry(byte[] headerBuf)
                     throws InvalidHeaderException


This software has been placed into the public domain.