public interface RegularExpressionMatching
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
matchFileNamesWithPattern(com.sshtools.common.files.AbstractFile[] files,
java.lang.String fileNameRegExp)
returns each of the files that match the pattern fileNameRegExp
|
SftpFile[] |
matchFilesWithPattern(SftpFile[] files,
java.lang.String fileNameRegExp)
returns each of the SftpFiles that match the pattern fileNameRegExp
|
SftpFile[] matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp) throws com.sshtools.common.sftp.SftpStatusException, com.sshtools.common.ssh.SshException
files
- fileNameRegExp
- com.sshtools.common.sftp.SftpStatusException
com.sshtools.common.ssh.SshException
java.lang.String[] matchFileNamesWithPattern(com.sshtools.common.files.AbstractFile[] files, java.lang.String fileNameRegExp) throws com.sshtools.common.sftp.SftpStatusException, com.sshtools.common.ssh.SshException, java.io.IOException, com.sshtools.common.permissions.PermissionDeniedException
files
- fileNameRegExp
- com.sshtools.common.sftp.SftpStatusException
com.sshtools.common.ssh.SshException
com.sshtools.common.permissions.PermissionDeniedException
java.io.IOException
Copyright © 2023. All rights reserved.