public class DefaultDispatchRestriction extends Object implements ch.sourcepond.io.fileobserver.api.DispatchRestriction
| Modifier and Type | Method and Description |
|---|---|
ch.sourcepond.io.fileobserver.api.SimpleDispatchRestriction |
accept(Object... pDirectoryKeys) |
ch.sourcepond.io.fileobserver.api.SimpleDispatchRestriction |
acceptAll() |
PathMatcher |
addPathMatcher(PathMatcher pCustomMatcher) |
PathMatcher |
addPathMatcher(String pSyntaxAndPattern) |
boolean |
isAccepted(ch.sourcepond.io.fileobserver.api.DispatchKey pDispatchKey) |
public ch.sourcepond.io.fileobserver.api.SimpleDispatchRestriction accept(Object... pDirectoryKeys)
accept in interface ch.sourcepond.io.fileobserver.api.DispatchRestrictionpublic ch.sourcepond.io.fileobserver.api.SimpleDispatchRestriction acceptAll()
acceptAll in interface ch.sourcepond.io.fileobserver.api.DispatchRestrictionpublic PathMatcher addPathMatcher(String pSyntaxAndPattern)
addPathMatcher in interface ch.sourcepond.io.fileobserver.api.SimpleDispatchRestrictionpublic PathMatcher addPathMatcher(PathMatcher pCustomMatcher)
addPathMatcher in interface ch.sourcepond.io.fileobserver.api.SimpleDispatchRestrictionpublic boolean isAccepted(ch.sourcepond.io.fileobserver.api.DispatchKey pDispatchKey)
Copyright © 2017 SourcePond. All rights reserved.