类 ChangedFile
java.lang.Object
org.springframework.boot.devtools.filewatch.ChangedFile
A single file that has changed.
- 从以下版本开始:
- 1.3.0
- 作者:
- Phillip Webb
- 另请参阅:
-
嵌套类概要
嵌套类 -
构造器概要
构造器构造器说明ChangedFile
(File sourceDirectory, File file, ChangedFile.Type type) Create a newChangedFile
instance. -
方法概要
-
构造器详细资料
-
ChangedFile
Create a newChangedFile
instance.- 参数:
sourceDirectory
- the source directoryfile
- the filetype
- the type of change
-
-
方法详细资料
-
getFile
Return the file that was changed.- 返回:
- the file
-
getType
Return the type of change.- 返回:
- the type of change
-
getRelativeName
Return the name of the file relative to the source directory.- 返回:
- the relative name
-
equals
-
hashCode
public int hashCode() -
toString
-