public class HourlyLogFileUtils
extends java.lang.Object
Constructor and Description |
---|
HourlyLogFileUtils() |
Modifier and Type | Method and Description |
---|---|
static int[] |
getLogExistsForMonth(ParameterMap setup,
java.lang.String key,
java.util.Date month,
int sourceId)
Получение информации о наличии логов.
|
static java.util.List<java.io.File> |
getLogFile(java.io.File path,
java.util.Calendar hour) |
static java.util.List<java.io.File> |
getLogFile(ParameterMap setup,
java.lang.String key,
int sourceId,
java.util.Calendar hour) |
static java.io.File |
getNextFileToWrite(ParameterMap setup,
int sourceId,
java.util.Calendar hour,
int[] idRef)
Deprecated.
|
static java.io.File |
getNextFileToWrite(ParameterMap setup,
java.lang.String logDirParamName,
int sourceId,
java.util.Calendar hour,
int[] idRef) |
protected static java.lang.String |
getPath(ParameterMap setup,
java.lang.String key,
int sourceId) |
public static final java.util.List<java.io.File> getLogFile(java.io.File path, java.util.Calendar hour)
public static final java.util.List<java.io.File> getLogFile(ParameterMap setup, java.lang.String key, int sourceId, java.util.Calendar hour)
protected static java.lang.String getPath(ParameterMap setup, java.lang.String key, int sourceId)
public static final int[] getLogExistsForMonth(ParameterMap setup, java.lang.String key, java.util.Date month, int sourceId)
setup
- key
- month
- sourceId
- @Deprecated public static final java.io.File getNextFileToWrite(ParameterMap setup, int sourceId, java.util.Calendar hour, int[] idRef)
public static final java.io.File getNextFileToWrite(ParameterMap setup, java.lang.String logDirParamName, int sourceId, java.util.Calendar hour, int[] idRef)