public class FileUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
generateLogFileTimeRollingSuffix()
Build the name for the hourly rotate file with logs.
|
static String |
generatePropertiesFileNameForLogFile(String logFile)
Build the associate properties file name for a given log file.
|
static boolean |
isLogFile(File file)
Validate if a file is valid log file.
|
static String |
validatePath(String filePath)
Validate path where log files are going to be stored.
|
public static String generateLogFileTimeRollingSuffix()
public static String generatePropertiesFileNameForLogFile(String logFile)
logFile - log filepublic static boolean isLogFile(File file)
file - input fileCopyright © 2018. All rights reserved.