public interface FileSystemBinding
The file system binding is used by asset serving handlers, among other places.
Chain.assets(String, String...)
Modifier and Type | Method and Description |
---|---|
FileSystemBinding |
binding(String path)
Construct a new binding by using the given path as a relative path from this bind point.
|
Path |
file(String path)
Creates a file reference relative to the bind point denoted by the given relative path.
|
Path |
getFile()
The actual point on the filesystem that this binding is bound to.
|
Path getFile()
@Nullable Path file(String path)
path
- The relative path from this binding to the desired fileFileSystemBinding binding(String path)
Prefer using Context.file(String)
.
path
- The relative path from this binding to the desired binding