public class GlobRegExpMatching extends java.lang.Object implements RegularExpressionMatching
| Constructor and Description |
|---|
GlobRegExpMatching() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
matchFileNamesWithPattern(AbstractFile[] files,
java.lang.String pattern)
returns each of the files that match the pattern fileNameRegExp
|
SftpFile[] |
matchFilesWithPattern(SftpFile[] files,
java.lang.String pattern)
returns each of the SftpFiles that match the pattern fileNameRegExp
|
public SftpFile[] matchFilesWithPattern(SftpFile[] files, java.lang.String pattern) throws SftpStatusException, SshException
RegularExpressionMatchingmatchFilesWithPattern in interface RegularExpressionMatchingSftpStatusExceptionSshExceptionpublic java.lang.String[] matchFileNamesWithPattern(AbstractFile[] files, java.lang.String pattern) throws SftpStatusException, SshException, java.io.IOException, PermissionDeniedException
RegularExpressionMatchingmatchFileNamesWithPattern in interface RegularExpressionMatchingSftpStatusExceptionSshExceptionjava.io.IOExceptionPermissionDeniedExceptionCopyright © 2022. All rights reserved.