public class GlobRegExpMatching extends java.lang.Object implements RegularExpressionMatching
Constructor and Description |
---|
GlobRegExpMatching() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
matchFileNamesWithPattern(com.sshtools.common.files.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 com.sshtools.common.sftp.SftpStatusException, com.sshtools.common.ssh.SshException
RegularExpressionMatching
matchFilesWithPattern
in interface RegularExpressionMatching
com.sshtools.common.sftp.SftpStatusException
com.sshtools.common.ssh.SshException
public java.lang.String[] matchFileNamesWithPattern(com.sshtools.common.files.AbstractFile[] files, java.lang.String pattern) throws com.sshtools.common.sftp.SftpStatusException, com.sshtools.common.ssh.SshException, java.io.IOException, com.sshtools.common.permissions.PermissionDeniedException
RegularExpressionMatching
matchFileNamesWithPattern
in interface RegularExpressionMatching
com.sshtools.common.sftp.SftpStatusException
com.sshtools.common.ssh.SshException
java.io.IOException
com.sshtools.common.permissions.PermissionDeniedException
Copyright © 2024. All rights reserved.