@Authors(value="Nikolche Mihajlovski") @Since(value="4.1.0") public class Dir extends org.rapidoid.RapidoidThing implements FilesystemChangeListener
| Modifier and Type | Method and Description |
|---|---|
void |
created(String filename) |
void |
deleted(String filename) |
boolean |
exists() |
Set<org.rapidoid.io.Res> |
files() |
Set<String> |
folders() |
static Dir |
from(String path) |
void |
modified(String filename) |
void |
refresh() |
String |
toString() |
static void |
traverse(Path root,
FileVisitor<Path> visitor) |
public void created(String filename)
created in interface FilesystemChangeListenerpublic void modified(String filename)
modified in interface FilesystemChangeListenerpublic void deleted(String filename)
deleted in interface FilesystemChangeListenerpublic void refresh()
public Set<org.rapidoid.io.Res> files()
public boolean exists()
public static void traverse(Path root, FileVisitor<Path> visitor)
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.