|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.izforge.izpack.ParsableFile
public class ParsableFile
Encloses information about a parsable file. This class abstracts the way the information is stored to package.
| Field Summary | |
|---|---|
private java.lang.String |
condition
condition for this Parsable |
java.lang.String |
encoding
The file encoding (or null for default) |
java.util.List<OsConstraint> |
osConstraints
The list of OS constraints limiting file installation. |
java.lang.String |
path
The file path |
(package private) static long |
serialVersionUID
|
java.lang.String |
type
The file type (or null for default) |
| Constructor Summary | |
|---|---|
ParsableFile(java.lang.String path,
java.lang.String type,
java.lang.String encoding,
java.util.List<OsConstraint> osConstraints)
Constructs and initializes a new instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCondition()
|
boolean |
hasCondition()
|
void |
setCondition(java.lang.String condition)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public java.lang.String path
public java.lang.String type
public java.lang.String encoding
public java.util.List<OsConstraint> osConstraints
private java.lang.String condition
| Constructor Detail |
|---|
public ParsableFile(java.lang.String path,
java.lang.String type,
java.lang.String encoding,
java.util.List<OsConstraint> osConstraints)
path - the file pathtype - the file type (or null for default)encoding - the file encoding (or null for default)osConstraints - the OS constraint (or null for any OS)| Method Detail |
|---|
public java.lang.String getCondition()
public void setCondition(java.lang.String condition)
condition - the condition to setpublic boolean hasCondition()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||