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, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
reset
public PathTreeModelDriver(C ctx)
public abstract void renamePath(java.nio.file.Path oldPath, java.nio.file.Path newPath) throws java.lang.Exception
java.lang.Exception
public abstract void setPathFilter(PathFilter filter)
public abstract PathFilter getPathFilter()
public final void addPathChangeListener(PathChangeEvent.Listener l)
addPathChangeListener
in interface PathChangeEvent.Source
public final void removePathChangeListener(PathChangeEvent.Listener l)
removePathChangeListener
in interface PathChangeEvent.Source
public final void addPathRegistrationListener(PathRegistrationEvent.Listener l)
addPathRegistrationListener
in interface PathRegistrationEvent.Source
public final void removePathRegistrationListener(PathRegistrationEvent.Listener l)
removePathRegistrationListener
in interface PathRegistrationEvent.Source
protected void firePathChangeEvent(PathChangeEvent e)
protected void firePathRegistrationEvent(PathRegistrationEvent e)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.