public class CurrentFileTrackerUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ASSEMBLER_CURRENT_ZIP_FILE_TRACKER |
static String |
MDEX_CURRENT_ZIP_FILE_TRACKER |
Constructor and Description |
---|
CurrentFileTrackerUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
retrieveCurrentZipFromTrackerFile(String directoryName,
String versionFileName)
Retrieves the name of the current zip file from the given file name from the directory
name parameters.
|
static void |
storeTrackerFileInfoForZip(String updateDirectory,
String versionFileName,
String fileName)
Writes the value of the fileName parameter into a file.
|
public static final String MDEX_CURRENT_ZIP_FILE_TRACKER
public static final String ASSEMBLER_CURRENT_ZIP_FILE_TRACKER
public static void storeTrackerFileInfoForZip(String updateDirectory, String versionFileName, String fileName) throws IOException
updateDirectory
- The directory containing the zip filesversionFileName
- The file name to store the current version infileName
- The file name string to be stored into the fileIOException
- is thrown if there were problems creating the filepublic static String retrieveCurrentZipFromTrackerFile(String directoryName, String versionFileName) throws IOException
directoryName
- The directory name containing both the zip files and tracking fileversionFileName
- The name of the file that contains the current file name stringIOException
- is thrown if there was a problem reading the file or retrieving the nameCopyright © 2014, Oracle and/or its affiliates. All rights reserved.