Class FileToWatch
java.lang.Object
org.spincast.plugins.hotswap.fileswatcher.FileToWatch
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetDir()protected static FilegetFileFromNotInJarClasspath(String relativePath) protected static booleanbooleanisRegEx()static FileToWatchofClasspath(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 FileToWatchofFileSystem(String fileAbsolutePath) ofFileSystemstatic FileToWatchofRegExtoString()
-
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
-