org.springframework.boot.devtools.restart.classloader

Class ClassLoaderFile

  • java.lang.Object
    • org.springframework.boot.devtools.restart.classloader.ClassLoaderFile
    • Constructor Detail

      • ClassLoaderFile

        public ClassLoaderFile(ClassLoaderFile.Kind kind,
                               byte[] contents)
        Create a new ClassLoaderFile instance.
        Parameters:
        kind - the kind of file
        contents - the file contents
      • ClassLoaderFile

        public ClassLoaderFile(ClassLoaderFile.Kind kind,
                               long lastModified,
                               byte[] contents)
        Create a new ClassLoaderFile instance.
        Parameters:
        kind - the kind of file
        lastModified - the last modified time
        contents - the file contents
    • Method Detail

      • getLastModified

        public long getLastModified()
        Return the time that the file was last modified.
        Returns:
        the last modified time