public class FtpFileConnectionImpl extends BasicConnection implements VirtualFileConnection
| Modifier and Type | Field and Description |
|---|---|
static BundleUtil |
UTIL |
| Constructor and Description |
|---|
FtpFileConnectionImpl(org.apache.commons.net.ftp.FTPClient client,
String pathname,
Map<String,String> fileMapping) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(InputStream in,
org.jboss.vfs.VirtualFile file) |
void |
close() |
org.jboss.vfs.VirtualFile |
getFile(String path) |
org.jboss.vfs.VirtualFile[] |
getFiles(String pattern) |
boolean |
remove(String path) |
cleanUp, createInteraction, getLocalTransaction, getMetaData, getResultSetInfo, getXAResource, isAlivepublic static final BundleUtil UTIL
public void close()
throws javax.resource.ResourceException
close in interface javax.resource.cci.Connectionjavax.resource.ResourceExceptionpublic org.jboss.vfs.VirtualFile[] getFiles(String pattern) throws javax.resource.ResourceException
getFiles in interface VirtualFileConnectionjavax.resource.ResourceExceptionpublic org.jboss.vfs.VirtualFile getFile(String path) throws javax.resource.ResourceException
getFile in interface VirtualFileConnectionjavax.resource.ResourceExceptionpublic boolean add(InputStream in, org.jboss.vfs.VirtualFile file) throws javax.resource.ResourceException
add in interface VirtualFileConnectionjavax.resource.ResourceExceptionpublic boolean remove(String path) throws javax.resource.ResourceException
remove in interface VirtualFileConnectionjavax.resource.ResourceExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.