Package com.cosylab.vdct.util
Class PathSpecification
- java.lang.Object
-
- com.cosylab.vdct.util.PathSpecification
-
public class PathSpecification extends Object
- Author:
- Matej
-
-
Field Summary
Fields Modifier and Type Field Description protected String
currentDir
protected ArrayList
currentPath
protected static String
NAME_EPICS_DB_INCLUDE_PATH
-
Constructor Summary
Constructors Constructor Description PathSpecification(String defaultPath)
PathSpecification(String defaultPath, PathSpecification parent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAddPath(String dirs)
static File
getRelativeName(File path, File relativeToPath)
File
search4File(String fileName)
void
setPath(String dirs)
static void
splitPath(String dirs, String currentDir, ArrayList list)
-
-
-
Field Detail
-
currentPath
protected ArrayList currentPath
-
NAME_EPICS_DB_INCLUDE_PATH
protected static final String NAME_EPICS_DB_INCLUDE_PATH
- See Also:
- Constant Field Values
-
currentDir
protected String currentDir
-
-
Constructor Detail
-
PathSpecification
public PathSpecification(String defaultPath)
- Parameters:
defaultPath
- defaultPath
-
PathSpecification
public PathSpecification(String defaultPath, PathSpecification parent)
- Parameters:
defaultPath
- defaultPathparent
- parent
-
-
Method Detail
-
splitPath
public static void splitPath(String dirs, String currentDir, ArrayList list)
- Parameters:
dirs
- dirscurrentDir
- currentDirlist
- list
-
setPath
public void setPath(String dirs)
- Parameters:
dirs
- dirs
-
addAddPath
public void addAddPath(String dirs)
- Parameters:
dirs
- dirs
-
search4File
public File search4File(String fileName) throws FileNotFoundException
- Parameters:
fileName
- fileName- Returns:
- something
- Throws:
FileNotFoundException
- foo
-
-