java.nio.filejava.nio.file.DirectoryStream.Filter<T>
and related classes@Deprecated public class MatchPatterns extends Object
Modifier and Type | Method and Description |
---|---|
static MatchPatterns |
from(String... sources)
Deprecated.
|
boolean |
matches(String name,
boolean isCaseSensitive)
Deprecated.
Checks these MatchPatterns against a specified string.
|
boolean |
matchesPatternStart(String name,
boolean isCaseSensitive)
Deprecated.
|
public boolean matches(@Nonnull String name, boolean isCaseSensitive)
name
- The name to look forisCaseSensitive
- If the comparison is case sensitivepublic boolean matchesPatternStart(@Nonnull String name, boolean isCaseSensitive)
name
- The name.isCaseSensitive
- being case sensetive.public static MatchPatterns from(@Nonnull String... sources)
sources
- The sourcesCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.