All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.plugins.hotswap.fileswatcher.FileToWatch.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






FileToWatch (org.spincast:spincast-framework 1.0.0 API)












org.spincast.plugins.hotswap.fileswatcher

Class FileToWatch



  • public class FileToWatch
    extends Object
    • Field Detail

      • logger

        protected static final org.slf4j.Logger logger
    • Method Detail

      • ofFileSystem

        public static FileToWatch ofFileSystem(String fileAbsolutePath)
        ofFileSystem
      • ofClasspath

        public 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!
      • ofRegEx

        public static FileToWatch ofRegEx(String dirPath,
                                          String fileNameRegEx,
                                          boolean isClassPath)
        ofRegEx
      • getDir

        public File getDir()
      • getFileName

        public String getFileName()
      • isRegEx

        public boolean isRegEx()
      • getRegExPattern

        public Pattern getRegExPattern()
      • getFileFromNotInJarClasspath

        protected static File getFileFromNotInJarClasspath(String relativePath)
      • isInExecutableJar

        protected static boolean isInExecutableJar()

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy