public final class PathPatternProcessorDecorator extends ProcessorDecorator
ProcessorDecorator with Ant path style support. This processor requires AntPathMatcher provided by spring
framework.
The implementation is inspired from mwa project created by
Edgar Espina.| Modifier and Type | Method and Description |
|---|---|
static PathPatternProcessorDecorator |
exclude(Object processor,
String... patterns)
Decorates a processor which will not be applied on provided patterns.
|
static PathPatternProcessorDecorator |
include(Object processor,
String... patterns)
Decorates a processor which will be applied on provided patterns.
|
void |
process(Resource resource,
Reader reader,
Writer writer) |
String |
toString() |
isEligible, isEnabledgetSupportedResourceType, getSupportedResourceTypeInternal, getSupportedResourceTypes, isImportAware, isMinimize, isMinimizeInternal, isSupported, processgetDecoratedObject, getOriginalDecoratedObject, getOriginalDecoratedObjectpublic static PathPatternProcessorDecorator include(Object processor, String... patterns)
processor - The processor to decorate.patterns - an array of patterns on which the processor will be applied.public static PathPatternProcessorDecorator exclude(Object processor, String... patterns)
processor - The processor to decorate.patterns - an array of patterns on which the processor will not be applied.public void process(Resource resource, Reader reader, Writer writer) throws IOException
process in interface ResourcePreProcessorprocess in class ProcessorDecoratorIOExceptionpublic String toString()
toString in class ProcessorDecoratorCopyright © 2008-2013. All Rights Reserved.