Modifier and Type | Method and Description |
---|---|
Messages.PathMatcherGlobMessages |
glob()
Returns an object for providing translated messages and exceptions for globs.
|
IllegalArgumentException |
syntaxNotFound(String syntaxAndInput)
Creates an exception that can be thrown if
FileSystem.getPathMatcher(String) is called with a string that does not contain a
syntax part. |
UnsupportedOperationException |
unsupportedPathMatcherSyntax(String syntax)
Creates an exception that can be thrown if
FileSystem.getPathMatcher(String) is called with an unsupported syntax. |
public Messages.PathMatcherGlobMessages glob()
public IllegalArgumentException syntaxNotFound(String syntaxAndInput)
FileSystem.getPathMatcher(String)
is called with a string that does not contain a
syntax part.syntaxAndInput
- The input to FileSystem.getPathMatcher(String)
that's missing the syntax.public UnsupportedOperationException unsupportedPathMatcherSyntax(String syntax)
FileSystem.getPathMatcher(String)
is called with an unsupported syntax.syntax
- The unsupported syntax.Copyright © 2016–2023. All rights reserved.