com.ice.tar
Class TarInputStream.EntryAdapter

java.lang.Object
  |
  +--com.ice.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

createEntry

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


This software has been placed into the public domain.