Top Fields Constructors Methods
jnr.posix.util

public Class Finder

extends Object
Class Inheritance
Imports
java.io.File, java.util.*, jnr.posix.FileStat, .POSIX

Field Summary

Modifier and TypeField and Description
private static final Collection<String>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
public static String
findFileCommon(POSIX posix, String name, String path, boolean executableOnly)

public static String
findFileInPath(POSIX posix, String name, String path)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EXECUTABLE_EXTENSIONSback to summary
private static final Collection<String> EXECUTABLE_EXTENSIONS

Constructor Detail

Finderback to summary
public Finder()

Method Detail

addExtensionback to summary
public static String addExtension(String path)
findFileCommonback to summary
public static String findFileCommon(POSIX posix, String name, String path, boolean executableOnly)
findFileInPathback to summary
public static String findFileInPath(POSIX posix, String name, String path)