ch.qos.logback.core.util
Class FileUtil
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.util.FileUtil
- All Implemented Interfaces:
- ContextAware
public class FileUtil
- extends ContextAwareBase
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtil
public FileUtil(Context context)
fileToURL
public static URL fileToURL(File file)
isParentDirectoryCreationRequired
public static boolean isParentDirectoryCreationRequired(File file)
createMissingParentDirectories
public static boolean createMissingParentDirectories(File file)
resourceAsString
public String resourceAsString(ClassLoader classLoader,
String resourceName)
copy
public void copy(String src,
String destination)
throws RolloverFailure
- Throws:
RolloverFailure
Copyright © 2005-2013 QOS.ch. All Rights Reserved.