Class FileStoreUtil
- java.lang.Object
-
- ch.qos.logback.core.rolling.helper.FileStoreUtil
-
public class FileStoreUtil extends java.lang.Object
A utility class using functionality available since JDK 1.7.- Since:
- 1.0.10
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String
FILES_CLASS_STR
(package private) static java.lang.String
PATH_CLASS_STR
-
Constructor Summary
Constructors Constructor Description FileStoreUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
areOnSameFileStore(java.io.File a, java.io.File b)
This method assumes that both files a and b exists.
-
-
-
Field Detail
-
PATH_CLASS_STR
static final java.lang.String PATH_CLASS_STR
- See Also:
- Constant Field Values
-
FILES_CLASS_STR
static final java.lang.String FILES_CLASS_STR
- See Also:
- Constant Field Values
-
-
Method Detail
-
areOnSameFileStore
public static boolean areOnSameFileStore(java.io.File a, java.io.File b) throws RolloverFailure
This method assumes that both files a and b exists.- Parameters:
a
-b
-- Returns:
- Throws:
java.lang.Exception
RolloverFailure
-
-