java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.util.FileUtil
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic booleanCreates the parent directories of a file.static URLresourceAsString(ClassLoader classLoader, String resourceName) Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
FileUtil
-
-
Method Details
-
fileToURL
-
createMissingParentDirectories
Creates the parent directories of a file. If parent directories not specified in file's path, then nothing is done and this returns gracefully.- Parameters:
file- file whose parent directories (if any) should be created- Returns:
trueif either no parents were specified, or if all parent directories were created successfully;falseotherwise
-
resourceAsString
-
copy
- Throws:
RolloverFailure
-