public class File<T extends File<T>> extends Object
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Long |
cacheBuffers()
Number of buffers
|
T |
cacheBuffers(Long value)
Number of buffers
|
Long |
cacheBufferSize()
Size of the buffers, in bytes.
|
T |
cacheBufferSize(Long value)
Size of the buffers, in bytes.
|
Boolean |
caseSensitive()
Use case sensitive file handling
|
T |
caseSensitive(Boolean value)
Use case sensitive file handling
|
Boolean |
directoryListing()
Enable directory listing?
|
T |
directoryListing(Boolean value)
Enable directory listing?
|
Boolean |
followSymlink()
Enable following symbolic links
|
T |
followSymlink(Boolean value)
Enable following symbolic links
|
String |
getKey() |
String |
path()
Path on filesystem from where file handler will serve resources
|
T |
path(String value)
Path on filesystem from where file handler will serve resources
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
safeSymlinkPath(String value)
Paths that are safe to be targets of symbolic links
|
List<String> |
safeSymlinkPaths()
Paths that are safe to be targets of symbolic links
|
T |
safeSymlinkPaths(List<String> value)
Paths that are safe to be targets of symbolic links
|
T |
safeSymlinkPaths(String... args)
Paths that are safe to be targets of symbolic links
|
public File(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Long cacheBufferSize()
public Long cacheBuffers()
public Boolean caseSensitive()
public Boolean directoryListing()
public Boolean followSymlink()
public String path()
public List<String> safeSymlinkPaths()
public T safeSymlinkPaths(List<String> value)
public T safeSymlinkPath(String value)
Copyright © 2018 JBoss by Red Hat. All rights reserved.