org.apache.commons.compress
Class ArchiveEntry

java.lang.Object
  extended by org.apache.commons.compress.ArchiveEntry

public class ArchiveEntry
extends Object

Represents an entry of an archive.


Constructor Summary
ArchiveEntry(String entryName, InputStream entryStream)
          Constructs a new ArchiveEntry with name and stram
 
Method Summary
 String getName()
          Returns this entries name
 InputStream getStream()
          Returns this entries InputStream stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveEntry

public ArchiveEntry(String entryName,
                    InputStream entryStream)
Constructs a new ArchiveEntry with name and stram

Parameters:
entryName - the name of this entry
entryStream - the inputstream of this entry
Method Detail

getName

public String getName()
Returns this entries name

Returns:
name of this entry

getStream

public InputStream getStream()
Returns this entries InputStream stream

Returns:
InputStream of this entry


Copyright © 2011 Apache Software Foundation. All Rights Reserved.