Package com.artipie.rpm.misc
Class FileInDir
java.lang.Object
com.artipie.rpm.misc.FileInDir
File in directory.
- Since:
- 0.9
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FileInDir
Ctor.- Parameters:
dir
- Directory
-
-
Method Details
-
find
Searches for the file by subst in the directory.- Parameters:
substr
- File name substr- Returns:
- Path to the file
- Throws:
IOException
- On ErrorIllegalArgumentException
- if not found
-