@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.Source.Filtering extends Object implements Plugin.Engine.Source
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | Plugin.Engine.Source.Filtering.MultiReleaseVersionMatcherAn element matcher that filters multi-release files above a given version. | 
Plugin.Engine.Source.Compound, Plugin.Engine.Source.Element, Plugin.Engine.Source.Empty, Plugin.Engine.Source.Filtering, Plugin.Engine.Source.ForFolder, Plugin.Engine.Source.ForJarFile, Plugin.Engine.Source.InMemory, Plugin.Engine.Source.Origin| Constructor and Description | 
|---|
| Filtering(Plugin.Engine.Source delegate,
         ElementMatcher<Plugin.Engine.Source.Element> matcher)Creates a new filtering source that retains the manifest of the delegated source. | 
| Filtering(Plugin.Engine.Source delegate,
         ElementMatcher<Plugin.Engine.Source.Element> matcher,
         boolean manifest)Creates a new filtering source. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Plugin.Engine.Source | dropMultiReleaseClassFilesAbove(Plugin.Engine.Source delegate,
                               ClassFileVersion classFileVersion)Wraps a source to exclude elements that are above the specified Java version. | 
| Plugin.Engine.Source.Origin | read()Initiates reading from a source. | 
public Filtering(Plugin.Engine.Source delegate, ElementMatcher<Plugin.Engine.Source.Element> matcher)
delegate - The source to which invocations are delegated.matcher - The element matcher being used to filter elements.public Filtering(Plugin.Engine.Source delegate, ElementMatcher<Plugin.Engine.Source.Element> matcher, boolean manifest)
delegate - The source to which invocations are delegated.matcher - The element matcher being used to filter elements.manifest - true if the manifest should be retained.public static Plugin.Engine.Source dropMultiReleaseClassFilesAbove(Plugin.Engine.Source delegate, ClassFileVersion classFileVersion)
delegate - The delegate source.classFileVersion - The latest multi-release Java version to retain from the source.public Plugin.Engine.Source.Origin read() throws IOException
read in interface Plugin.Engine.SourceIOException - If an I/O error occurs.Copyright © 2014–2024. All rights reserved.