public class FileHelper extends Object
| Constructor and Description |
|---|
FileHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
existsFullScanBufferFile(String storage,
String indexID)
Checks if the full scan buffer file exists
|
static boolean |
existsFullScanFile(String storage,
String indexID)
Checks if the full scan file exists
|
static boolean |
existsVAFApproxFile(String storage,
String indexID)
Checks if the VA approximations file exists
|
static boolean |
existsVAFBufferFile(String storage,
String indexID)
Checks if the VA buffer file exists
|
static boolean |
existsVAFVectorFile(String storage,
String indexID)
Checks if the VA vector file exists
|
static String |
getFullScanBufferFile(String storage,
String indexID)
Retrieves the full scan buffer file
|
static String |
getFullScanFile(String storage,
String indexID)
Retrieves the full scan file
|
static String |
getVAFApproxFile(String storage,
String indexID)
Retrieves the VA approximation file
|
static String |
getVAFBufferFile(String storage,
String indexID)
Retrieves the VA buffer file
|
static String |
getVAFVectorFile(String storage,
String indexID)
Retrieves the VA vector file
|
static boolean |
removeFullScanBufferFile(String storage,
String indexID)
removes the full scan file
|
static boolean |
removeVAFBufferFile(String storage,
String indexID)
Removes the VA buffer file
|
public static boolean existsFullScanFile(String storage, String indexID)
storage - The storage locationindexID - The index idtrue if it exists, false otherwisepublic static boolean existsFullScanBufferFile(String storage, String indexID)
storage - The storage locationindexID - The index idtrue if it exists, false otherwisepublic static String getFullScanFile(String storage, String indexID)
storage - The storage locationindexID - The index idpublic static String getFullScanBufferFile(String storage, String indexID)
storage - The storage locationindexID - The index idpublic static boolean removeFullScanBufferFile(String storage, String indexID)
storage - The storage locationindexID - The index idpublic static boolean existsVAFBufferFile(String storage, String indexID)
storage - The storage locationindexID - The index idtrue if it exists, false otherwisepublic static boolean existsVAFVectorFile(String storage, String indexID)
storage - The storage locationindexID - The index idtrue if it exists, false otherwisepublic static boolean existsVAFApproxFile(String storage, String indexID)
storage - The storage locationindexID - The index idtrue if it exists, false otherwisepublic static String getVAFBufferFile(String storage, String indexID)
storage - The storage locationindexID - The index idpublic static String getVAFVectorFile(String storage, String indexID)
storage - The storage locationindexID - The index idpublic static String getVAFApproxFile(String storage, String indexID)
storage - The storage locationindexID - The index idCopyright © 2014. All Rights Reserved.