public class FileToWatch extends Object
| Modifier and Type | Method and Description |
|---|---|
File |
getDir() |
String |
getFileName() |
Pattern |
getRegExPattern() |
boolean |
isRegEx() |
static FileToWatch |
ofClasspath(String classpathFilePath)
ofClasspath
|
static FileToWatch |
ofFileSystem(String fileAbsolutePath)
ofFileSystem
|
static FileToWatch |
ofRegEx(String dirPath,
String fileNameRegEx,
boolean isClassPath)
ofRegEx
|
String |
toString() |
public static FileToWatch ofFileSystem(String fileAbsolutePath)
public static FileToWatch ofClasspath(String classpathFilePath)
public static FileToWatch ofRegEx(String dirPath, String fileNameRegEx, boolean isClassPath)
public File getDir()
public String getFileName()
public boolean isRegEx()
public Pattern getRegExPattern()
Copyright © 2018. All rights reserved.