|
JBoss VFS 3.0.1.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.vfs.VirtualFileAssembly
public class VirtualFileAssembly
Assembly of VirtualFiles that can be mounted into the VFS in a structure that is not required to match a real filesystem structure.
Constructor Summary | |
---|---|
VirtualFileAssembly()
|
Method Summary | |
---|---|
void |
add(String path,
File root)
|
void |
add(String path,
VirtualFile virtualFile)
Add a VirtualFile to the assembly in a given path. |
void |
add(VirtualFile virtualFile)
Add a VirtualFile to the assembly. |
void |
addZip(String path,
File zipFile)
|
void |
close()
Close the assembly and nested resources. |
boolean |
contains(VirtualFile mountPoint,
VirtualFile target)
|
List<String> |
getChildNames(VirtualFile mountPoint,
VirtualFile target)
Returns a list of all the names of the children in the assembly. |
VirtualFile |
getFile(VirtualFile mountPoint,
VirtualFile target)
Get the VirtualFile from the assembly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VirtualFileAssembly()
Method Detail |
---|
public void add(VirtualFile virtualFile)
VirtualFile
to the assembly.
virtualFile
- public void add(String path, VirtualFile virtualFile)
VirtualFile
to the assembly in a given path.
path
- virtualFile
- public void add(String path, File root) throws IOException
IOException
public void addZip(String path, File zipFile) throws IOException
IOException
public VirtualFile getFile(VirtualFile mountPoint, VirtualFile target)
mountPoint
- target
-
IOException
public List<String> getChildNames(VirtualFile mountPoint, VirtualFile target)
public boolean contains(VirtualFile mountPoint, VirtualFile target)
public void close()
close
in interface Closeable
|
JBoss VFS 3.0.1.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |