public class FileNameIndexUtils
extends java.lang.Object
| Constructor | Description |
|---|---|
FileNameIndexUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
decodeJobHistoryFileName(java.lang.String logFileName) |
Helper function to decode the URL of the filename of the job-history
log file.
|
static java.lang.String |
encodeJobHistoryFileName(java.lang.String logFileName) |
Helper function to encode the URL of the filename of the job-history
log file.
|
static java.lang.String |
getDoneFileName(JobIndexInfo indexInfo) |
Constructs the job history file name from the JobIndexInfo.
|
static java.lang.String |
getDoneFileName(JobIndexInfo indexInfo,
int jobNameLimit) |
|
static JobIndexInfo |
getIndexInfo(java.lang.String jhFileName) |
Parses the provided job history file name to construct a
JobIndexInfo object which is returned.
|
public static java.lang.String getDoneFileName(JobIndexInfo indexInfo) throws java.io.IOException
indexInfo - the index info.java.io.IOExceptionpublic static java.lang.String getDoneFileName(JobIndexInfo indexInfo, int jobNameLimit) throws java.io.IOException
java.io.IOExceptionpublic static JobIndexInfo getIndexInfo(java.lang.String jhFileName) throws java.io.IOException
jhFileName - the job history filename.java.io.IOExceptionpublic static java.lang.String encodeJobHistoryFileName(java.lang.String logFileName)
throws java.io.IOException
logFileName - file name of the job-history filejava.io.IOExceptionpublic static java.lang.String decodeJobHistoryFileName(java.lang.String logFileName)
throws java.io.IOException
logFileName - file name of the job-history filejava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.