public class SimpleFilePathExpression extends Object implements IFilePathExpression
IFilePathExpression.| Constructor and Description |
|---|
SimpleFilePathExpression() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
acceptFile(Path path) |
boolean |
acceptPath(Path path)
Returns true if given file path is allowed for the file path completion and
false otherwise.
|
Character |
getSeparator()
Returns the separator character (ex: ';') used to separate multiple files
declaration (ex:
file1.xml;file2.xml) and null otherwise.
|
boolean |
match(Node node)
Returns true if the given DOM node matches the file path expression and false
otherwise.
|
public boolean match(Node node)
IFilePathExpressionmatch in interface IFilePathExpressionnode - the DOM node.public Character getSeparator()
IFilePathExpressiongetSeparator in interface IFilePathExpressionpublic boolean acceptPath(Path path)
IFilePathExpressionacceptPath in interface IFilePathExpressionpath - the file path.protected boolean acceptFile(Path path)
Copyright © 2024. All rights reserved.