public class FileSystemBrowser extends java.lang.Object implements Browser
| Modifier and Type | Class and Description |
|---|---|
static class |
FileSystemBrowser.DirectoryElement |
static class |
FileSystemBrowser.FileElement |
| Constructor and Description |
|---|
FileSystemBrowser(java.io.File root) |
FileSystemBrowser(java.lang.String rootPath) |
| Modifier and Type | Method and Description |
|---|---|
static int |
fileReadBufferSize(java.io.File file) |
Behaviour |
getBehaviour()
Returns the browser behaviour options.
|
Element |
getElement(java.lang.String path) |
Element |
getRoot()
Returns the root element.
|
public FileSystemBrowser(@NotNull
java.io.File root)
public FileSystemBrowser(@NotNull
java.lang.String rootPath)
@NotNull public Element getRoot()
Browser@Nullable public Element getElement(@NotNull java.lang.String path)
getElement in interface Browserpath - path to some element@NotNull public Behaviour getBehaviour()
Browser
For most implementations Behaviour.DEFAULT_BEHAVIOUR is returned.
getBehaviour in interface Browserpublic static int fileReadBufferSize(@NotNull
java.io.File file)