クラス CommandLocator
java.lang.Object
com.kazurayam.subprocessj.CommandLocator
-
ネストされたクラスの概要
ネストされたクラス -
コンストラクタの概要
コンストラクタ -
メソッドの概要
-
コンストラクタの詳細
-
CommandLocator
public CommandLocator()
-
-
メソッドの詳細
-
find
- パラメータ:
command
- a command name. e.g, "git"- 戻り値:
- the CommandLocatingResult object. the CommandLocatingResult.command() will return a string which is the full path of the executable of the command. e.g, "/usr/local/bin/git"
-
find
see the documentation for detail. -
startsWith
- パラメータ:
pathFromRoot
- e.g, Paths.get("C:\\Program Files\\Git\\cmd")- 戻り値:
- a Predicate to filter a List of Paths
-
endsWith
- パラメータ:
pathEndingWith
- e.g, Paths.get("cmd\\git.exe");- 戻り値:
- a Predicate to filter a List of Paths
-