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