public class ParsableFile extends Object implements Serializable
| Constructor and Description |
|---|
ParsableFile(String path,
SubstitutionType type,
String encoding,
List<OsModel> osConstraints)
Constructs and initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCondition() |
String |
getEncoding()
Returns the file encoding.
|
List<OsModel> |
getOsConstraints()
Returns the list of OS constraints limiting file installation.
|
String |
getPath()
Returns the file path.
|
SubstitutionType |
getType()
Returns the substitution type.
|
boolean |
hasCondition() |
void |
setCondition(String condition) |
void |
setPath(String path)
Sets the path.
|
String |
toString() |
public ParsableFile(String path, SubstitutionType type, String encoding, List<OsModel> 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)public String getPath()
public void setPath(String path)
path - the pathpublic SubstitutionType getType()
null for the defaultpublic String getEncoding()
null for the defaultpublic List<OsModel> getOsConstraints()
null to indicate all OSespublic String getCondition()
public void setCondition(String condition)
condition - the condition to setpublic boolean hasCondition()
Copyright © 2001–2025. All rights reserved.