public class NoRegExpMatching extends java.lang.Object implements RegularExpressionMatching
Constructor and Description |
---|
NoRegExpMatching() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
matchFileNamesWithPattern(com.sshtools.common.files.AbstractFile[] files,
java.lang.String fileNameRegExp)
opens and returns the requested filename string
|
SftpFile[] |
matchFilesWithPattern(SftpFile[] files,
java.lang.String fileNameRegExp)
returns files
|
public java.lang.String[] matchFileNamesWithPattern(com.sshtools.common.files.AbstractFile[] files, java.lang.String fileNameRegExp) throws com.sshtools.common.ssh.SshException, com.sshtools.common.sftp.SftpStatusException, java.io.IOException, com.sshtools.common.permissions.PermissionDeniedException
matchFileNamesWithPattern
in interface RegularExpressionMatching
com.sshtools.common.sftp.SftpStatusException
com.sshtools.common.permissions.PermissionDeniedException
java.io.IOException
com.sshtools.common.ssh.SshException
public SftpFile[] matchFilesWithPattern(SftpFile[] files, java.lang.String fileNameRegExp) throws com.sshtools.common.sftp.SftpStatusException, com.sshtools.common.ssh.SshException
matchFilesWithPattern
in interface RegularExpressionMatching
com.sshtools.common.sftp.SftpStatusException
com.sshtools.common.ssh.SshException
Copyright © 2021. All rights reserved.