public class XPackFile extends PackFile implements Comparable<XPackFile>
PackFile that includes the file position in the installation media.| Constructor and Description |
|---|
XPackFile(File baseDir,
File src,
String target,
List<OsModel> osList,
OverrideType override,
String overrideRenameTo,
Blockable blockable)
Constructs an XPackFile.
|
XPackFile(PackFile file)
Constructs an XPackFile from an
PackFile. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(XPackFile arg0) |
long |
getArchiveFilePosition()
Returns the position of the file in the archive.
|
void |
setArchiveFilePosition(long position)
Sets the position of the file in the archive.
|
blockable, getAdditionals, getCondition, getFile, getId, getLinkedPackFile, getPack200Properties, getRelativeSourcePath, getStreamOffset, getStreamResourceName, getTargetPath, hasCondition, isBackReference, isDirectory, isPack200Jar, lastModified, length, osConstraints, override, overrideRenameTo, setCondition, setLinkedPackFile, setLoosePackInfo, setSize, setStreamOffset, setStreamResourceName, size, toStringpublic XPackFile(File baseDir, File src, String target, List<OsModel> osList, OverrideType override, String overrideRenameTo, Blockable blockable) throws IOException
baseDir - the base directory of the filesrc - file which this PackFile describestarget - the path to install the file toosList - OS constraintsoverride - what to do when the file already existsIOException - if the specified file does not exist.public XPackFile(PackFile file) throws IOException
PackFile.file - the pack fileIOException - if an I/O error occurredpublic long getArchiveFilePosition()
public void setArchiveFilePosition(long position)
position - the positionpublic int compareTo(XPackFile arg0)
compareTo in interface Comparable<XPackFile>Copyright © 2001–2025. All rights reserved.