public abstract class PathTreeModelDriver<C extends ApplicationContext> extends AbstractApplicationObject<C> implements PathRegistrationEvent.Source, PathChangeEvent.Source, Resettable
PathWatcher with a PathTreeModel. It forwards
the event notification from the underlying PathWatcher to the
PathTreeModel.| Constructor and Description |
|---|
PathTreeModelDriver(C ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPathChangeListener(PathChangeEvent.Listener l) |
void |
addPathRegistrationListener(PathRegistrationEvent.Listener l) |
protected void |
firePathChangeEvent(PathChangeEvent e) |
protected void |
firePathRegistrationEvent(PathRegistrationEvent e) |
abstract PathFilter |
getPathFilter() |
abstract java.util.List<PathInfo> |
loadChildren(PathInfo parent) |
void |
removePathChangeListener(PathChangeEvent.Listener l) |
void |
removePathRegistrationListener(PathRegistrationEvent.Listener l) |
abstract void |
renamePath(java.nio.file.Path oldPath,
java.nio.file.Path newPath) |
abstract void |
setPathFilter(PathFilter filter) |
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitresetpublic PathTreeModelDriver(C ctx)
public abstract void renamePath(java.nio.file.Path oldPath,
java.nio.file.Path newPath)
throws java.lang.Exception
java.lang.Exceptionpublic abstract void setPathFilter(PathFilter filter)
public abstract PathFilter getPathFilter()
public final void addPathChangeListener(PathChangeEvent.Listener l)
addPathChangeListener in interface PathChangeEvent.Sourcepublic final void removePathChangeListener(PathChangeEvent.Listener l)
removePathChangeListener in interface PathChangeEvent.Sourcepublic final void addPathRegistrationListener(PathRegistrationEvent.Listener l)
addPathRegistrationListener in interface PathRegistrationEvent.Sourcepublic final void removePathRegistrationListener(PathRegistrationEvent.Listener l)
removePathRegistrationListener in interface PathRegistrationEvent.Sourceprotected void firePathChangeEvent(PathChangeEvent e)
protected void firePathRegistrationEvent(PathRegistrationEvent e)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.