|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.izforge.izpack.PackFile
Encloses information about a packed file. This class abstracts the way file data is stored to package.
Field Summary | |
long |
length
The length of the file in bytes |
long |
mtime
The last-modification time of the file. |
java.util.List |
osConstraints
The target operating system constraints of this file |
int |
override
Whether or not this file is going to override any existing ones |
static int |
OVERRIDE_ASK_FALSE
|
static int |
OVERRIDE_ASK_TRUE
|
static int |
OVERRIDE_FALSE
|
static int |
OVERRIDE_TRUE
|
static int |
OVERRIDE_UPDATE
|
java.lang.String |
targetPath
The full path name of the target file |
Constructor Summary | |
PackFile()
Constructs a new uninitialized instance. |
|
PackFile(java.lang.String targetPath,
java.util.List osList,
long length,
long mtime,
int override)
Constructs and initializes a new instance. |
|
PackFile(java.lang.String targetPath,
long length)
Constructs and initializes a new instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String targetPath
public java.util.List osConstraints
public long length
public long mtime
public static final int OVERRIDE_FALSE
public static final int OVERRIDE_TRUE
public static final int OVERRIDE_ASK_FALSE
public static final int OVERRIDE_ASK_TRUE
public static final int OVERRIDE_UPDATE
public int override
Constructor Detail |
public PackFile()
public PackFile(java.lang.String targetPath, long length)
length
- the length of the filetargetPath
- Description of the Parameterpublic PackFile(java.lang.String targetPath, java.util.List osList, long length, long mtime, int override)
targetPath
- the path to install the file toosList
- OS constraintslength
- the length of the filemtime
- the last modification time of the fileoverride
- what to do when the file already exists
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |