org.vafer.jdeb.ar
Class FileArEntry

java.lang.Object
  extended by org.vafer.jdeb.ar.AbstractArEntry
      extended by org.vafer.jdeb.ar.FileArEntry

public final class FileArEntry
extends AbstractArEntry

ArEntry coming from a file

Author:
tcurdt

Constructor Summary
FileArEntry(java.io.File pFile, int pUserId, int pGroupId, int pMode)
           
FileArEntry(java.io.File pFile, java.lang.String pName, int pUserId, int pGroupId, int pMode)
           
 
Method Summary
 java.io.InputStream getData()
           
 long getLastModified()
           
 long getLength()
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileArEntry

public FileArEntry(java.io.File pFile,
                   int pUserId,
                   int pGroupId,
                   int pMode)

FileArEntry

public FileArEntry(java.io.File pFile,
                   java.lang.String pName,
                   int pUserId,
                   int pGroupId,
                   int pMode)
Method Detail

getData

public java.io.InputStream getData()
                            throws java.io.IOException
Specified by:
getData in class AbstractArEntry
Throws:
java.io.IOException

getLastModified

public long getLastModified()
Specified by:
getLastModified in class AbstractArEntry

getLength

public long getLength()
Specified by:
getLength in class AbstractArEntry

getName

public java.lang.String getName()
Specified by:
getName in class AbstractArEntry


Copyright © 2007. All Rights Reserved.