cz.cuni.amis.pogamut.ut2004.navigation.evaluator
Class FileNames
java.lang.Object
cz.cuni.amis.pogamut.ut2004.navigation.evaluator.FileNames
public class FileNames
- extends Object
Helper for generating correct file names.
- Author:
- Bogo
|
Method Summary |
static File |
getFile(File dir,
String file)
Joins directory file and file name into single path and opens it as a file. |
static File |
getFile(String dir,
String file)
Joins directory path and file name into single path and opens it as a file. |
static String |
joinPath(String dir,
String file)
Joins directory path and file name into single path. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATA_FILE
public static final String DATA_FILE
- See Also:
- Constant Field Values
DATA_AGG_FILE
public static final String DATA_AGG_FILE
- See Also:
- Constant Field Values
PATH_CONTAINER_FILE
public static final String PATH_CONTAINER_FILE
- See Also:
- Constant Field Values
LOG_FILE
public static final String LOG_FILE
- See Also:
- Constant Field Values
FileNames
public FileNames()
joinPath
public static String joinPath(String dir,
String file)
- Joins directory path and file name into single path.
- Parameters:
dir - Path to directory.file - Name of the file.
- Returns:
- Joined path.
getFile
public static File getFile(String dir,
String file)
- Joins directory path and file name into single path and opens it as a file.
- Parameters:
dir - Path to directory.file - Name of the file.
- Returns:
- File on the joined path.
getFile
public static File getFile(File dir,
String file)
- Joins directory file and file name into single path and opens it as a file.
- Parameters:
dir - Directory file.file - Name of the file.
- Returns:
- File on the joined path.
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.