@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Engine.Source.Filtering extends Object implements Plugin.Engine.Source
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 |
|---|---|
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 Plugin.Engine.Source.Origin read() throws IOException
read in interface Plugin.Engine.SourceIOException - If an I/O error occurs.Copyright © 2014–2023. All rights reserved.