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, validateSELinux
public ConfigFileType getType()
getType
in class ConfigFileData
public long getContentSize()
getContentSize
in class ConfigFileData
public java.io.InputStream getContentStream()
getContentStream
in class ConfigFileData
protected void validateContents(ValidatorResult result, boolean onCreate)
validateContents
in class ConfigFileData
public void processRevisedContentFrom(ConfigRevision current)
processRevisedContentFrom
in class ConfigFileData
current
- the revision to copy stuff from..