Package | Description |
---|---|
cn.orionsec.kit.ext.watch.file.handler | |
cn.orionsec.kit.lang.utils.io |
Modifier and Type | Method and Description |
---|---|
void |
EventHandler.onAccess(File file,
FileAttribute before,
FileAttribute current)
文件被访问
|
void |
DefaultEventHandler.onAccess(File file,
FileAttribute before,
FileAttribute current) |
void |
EventHandler.onCreate(File file,
FileAttribute current)
文件被创建
|
void |
DefaultEventHandler.onCreate(File file,
FileAttribute current) |
void |
EventHandler.onDelete(File file,
FileAttribute before)
文件被删除
|
void |
DefaultEventHandler.onDelete(File file,
FileAttribute before) |
void |
EventHandler.onModified(File file,
FileAttribute before,
FileAttribute current)
文件被修改
|
void |
DefaultEventHandler.onModified(File file,
FileAttribute before,
FileAttribute current) |
Modifier and Type | Method and Description |
---|---|
static FileAttribute |
Files1.getAttribute(File file) |
static FileAttribute |
Files1.getAttribute(Path file)
获取文件属性
|
static FileAttribute |
Files1.getAttribute(String file) |
static FileAttribute |
Files1.getAttribute(URI file) |
Copyright © 2024. All rights reserved.