Class FileToWatch
java.lang.Object
org.spincast.plugins.hotswap.fileswatcher.FileToWatch
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDir()
protected static File
getFileFromNotInJarClasspath
(String relativePath) protected static boolean
boolean
isRegEx()
static FileToWatch
ofClasspath
(String classpathFilePath) Note that a file from the classpath can only be watched when the application is ran locally in development mode, not when it runs from a .jar!static FileToWatch
ofFileSystem
(String fileAbsolutePath) ofFileSystemstatic FileToWatch
ofRegExtoString()
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Method Details
-
ofFileSystem
ofFileSystem -
ofClasspath
Note that a file from the classpath can only be watched when the application is ran locally in development mode, not when it runs from a .jar! -
ofRegEx
ofRegEx -
getDir
-
getFileName
-
isRegEx
public boolean isRegEx() -
getRegExPattern
-
getFileFromNotInJarClasspath
-
isInExecutableJar
protected static boolean isInExecutableJar() -
toString
-