|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.virtual.MemoryFileFactory
public class MemoryFileFactory
Memory VFS API.
| Constructor Summary | |
|---|---|
MemoryFileFactory()
|
|
| Method Summary | |
|---|---|
static VirtualFile |
createDirectory(URL url)
Create memory directory. |
static VFS |
createRoot(URI uri)
Create the memory root. |
static VFS |
createRoot(URL url)
Create root vfs. |
static boolean |
delete(URL url)
Delete. |
static boolean |
deleteRoot(URL url)
Delete root. |
static VFS |
find(String host)
Find host's VFS. |
static VirtualFile |
putFile(URL url,
byte[] contents)
Put file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryFileFactory()
| Method Detail |
|---|
public static VFS find(String host)
host - the host
public static VFS createRoot(URI uri)
throws IOException
uri - the uri
IOException - for any errorpublic static VFS createRoot(URL url)
url - the url
public static VirtualFile createDirectory(URL url)
url - the url
public static VirtualFile putFile(URL url,
byte[] contents)
url - the urlcontents - the contents
public static boolean deleteRoot(URL url)
url - the url
public static boolean delete(URL url)
url - the url
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||