public class DirectoryData extends ConfigFileData
DEFAULT_CONFIG_DELIM_END, DEFAULT_CONFIG_DELIM_START, MAX_FILE_SIZE| Constructor and Description |
|---|
DirectoryData()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
long |
getContentSize() |
java.io.InputStream |
getContentStream() |
ConfigFileType |
getType() |
void |
processRevisedContentFrom(ConfigRevision current)
Basically Extension point to update the relevant in this data file
with the content provided in the revision param.
|
protected void |
validateContents(ValidatorResult result,
boolean onCreate) |
extractInfo, getGroup, getMacroEnd, getMacroStart, getOwner, getPath, getPermissions, getRevNumber, getSelinuxCtx, isBinary, isFile, makeValidationMap, matchesRevision, setGroup, setMacroEnd, setMacroStart, setOwner, setPath, setPermissions, setRevNumber, setSelinuxCtx, setType, toString, validate, validatePath, validateSELinuxpublic ConfigFileType getType()
getType in class ConfigFileDatapublic long getContentSize()
getContentSize in class ConfigFileDatapublic java.io.InputStream getContentStream()
getContentStream in class ConfigFileDataprotected void validateContents(ValidatorResult result, boolean onCreate)
validateContents in class ConfigFileDatapublic void processRevisedContentFrom(ConfigRevision current)
processRevisedContentFrom in class ConfigFileDatacurrent - the revision to copy stuff from..