com.izforge.izpack
Class XPackFile

java.lang.Object
  extended by com.izforge.izpack.PackFile
      extended by com.izforge.izpack.XPackFile
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XPackFile>

public class XPackFile
extends PackFile
implements java.lang.Comparable<XPackFile>

Extends the packfile by the information at which file position an entry is stored

Author:
Dennis Reil,
See Also:
Serialized Form

Field Summary
protected  long archivefileposition
           
private static long serialVersionUID
           
 
Fields inherited from class com.izforge.izpack.PackFile
offsetInPreviousPack, OVERRIDE_ASK_FALSE, OVERRIDE_ASK_TRUE, OVERRIDE_FALSE, OVERRIDE_TRUE, OVERRIDE_UPDATE, previousPackId, relativePath, sourcePath
 
Constructor Summary
XPackFile(java.io.File baseDir, java.io.File src, java.lang.String target, java.util.List<OsConstraint> osList, int override)
           
XPackFile(java.io.File baseDir, java.io.File src, java.lang.String target, java.util.List<OsConstraint> osList, int override, java.util.Map additionals)
           
XPackFile(PackFile packf)
           
 
Method Summary
 int compareTo(XPackFile arg0)
           
 long getArchivefileposition()
           
 PackFile getPackfile()
           
 void setArchivefileposition(long archivefileposition)
           
 
Methods inherited from class com.izforge.izpack.PackFile
computeRelativePathFrom, getAdditionals, getCondition, getRelativeSourcePath, getTargetPath, hasCondition, isBackReference, isDirectory, isPack200Jar, lastModified, length, osConstraints, override, setCondition, setLoosePackInfo, setPack200Jar, setPreviousPackFileRef, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

archivefileposition

protected long archivefileposition
Constructor Detail

XPackFile

public XPackFile(java.io.File baseDir,
                 java.io.File src,
                 java.lang.String target,
                 java.util.List<OsConstraint> osList,
                 int override)
          throws java.io.FileNotFoundException
Parameters:
src -
target -
osList -
override -
Throws:
java.io.FileNotFoundException

XPackFile

public XPackFile(java.io.File baseDir,
                 java.io.File src,
                 java.lang.String target,
                 java.util.List<OsConstraint> osList,
                 int override,
                 java.util.Map additionals)
          throws java.io.FileNotFoundException
Parameters:
src -
target -
osList -
override -
additionals -
Throws:
java.io.FileNotFoundException

XPackFile

public XPackFile(PackFile packf)
          throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

getArchivefileposition

public long getArchivefileposition()

setArchivefileposition

public void setArchivefileposition(long archivefileposition)

getPackfile

public PackFile getPackfile()

compareTo

public int compareTo(XPackFile arg0)
Specified by:
compareTo in interface java.lang.Comparable<XPackFile>