public interface VirtualFileConnection
extends javax.resource.cci.Connection
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(InputStream in,
org.jboss.vfs.VirtualFile file)
Add a file to JBoss VFS
|
org.jboss.vfs.VirtualFile |
getFile(String path)
Return a file by a given file name
|
org.jboss.vfs.VirtualFile[] |
getFiles(String namePattern)
Return a list of files by a given file pattern
|
boolean |
remove(String path)
Remove a file from JBoss VFS by given path
|
org.jboss.vfs.VirtualFile[] getFiles(String namePattern) throws javax.resource.ResourceException
namePattern - - the syntax and patternjavax.resource.ResourceExceptionorg.jboss.vfs.VirtualFile getFile(String path) throws javax.resource.ResourceException
name - javax.resource.ResourceExceptionboolean add(InputStream in, org.jboss.vfs.VirtualFile file) throws javax.resource.ResourceException
file - javax.resource.ResourceExceptionboolean remove(String path) throws javax.resource.ResourceException
path - javax.resource.ResourceExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.