Class FileFilterUtil
- java.lang.Object
-
- ch.qos.logback.core.rolling.helper.FileFilterUtil
-
@Deprecated(since="2022-01-27") public class FileFilterUtil extends java.lang.ObjectDeprecated.
-
-
Constructor Summary
Constructors Constructor Description FileFilterUtil()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.StringafterLastSlash(java.lang.String sregex)Deprecated.static intextractCounter(java.io.File file, java.lang.String stemRegex)Deprecated.static java.io.File[]filesInFolderMatchingStemRegex(java.io.File file, java.lang.String stemRegex)Deprecated.Return the set of files matching the stemRegex as found in 'directory'.static intfindHighestCounter(java.io.File[] matchingFileArray, java.lang.String stemRegex)Deprecated.static booleanisEmptyDirectory(java.io.File dir)Deprecated.static voidremoveEmptyParentDirectories(java.io.File file, int recursivityCount)Deprecated.static voidreverseSortFileArrayByName(java.io.File[] fileArray)Deprecated.static java.lang.Stringslashify(java.lang.String in)Deprecated.static voidsortFileArrayByName(java.io.File[] fileArray)Deprecated.
-
-
-
Method Detail
-
sortFileArrayByName
public static void sortFileArrayByName(java.io.File[] fileArray)
Deprecated.
-
reverseSortFileArrayByName
public static void reverseSortFileArrayByName(java.io.File[] fileArray)
Deprecated.
-
afterLastSlash
public static java.lang.String afterLastSlash(java.lang.String sregex)
Deprecated.
-
isEmptyDirectory
public static boolean isEmptyDirectory(java.io.File dir)
Deprecated.
-
filesInFolderMatchingStemRegex
public static java.io.File[] filesInFolderMatchingStemRegex(java.io.File file, java.lang.String stemRegex)Deprecated.Return the set of files matching the stemRegex as found in 'directory'. A stemRegex does not contain any slash characters or any folder separators.- Parameters:
file-stemRegex-- Returns:
-
findHighestCounter
public static int findHighestCounter(java.io.File[] matchingFileArray, java.lang.String stemRegex)Deprecated.
-
extractCounter
public static int extractCounter(java.io.File file, java.lang.String stemRegex)Deprecated.
-
slashify
public static java.lang.String slashify(java.lang.String in)
Deprecated.
-
removeEmptyParentDirectories
public static void removeEmptyParentDirectories(java.io.File file, int recursivityCount)Deprecated.
-
-