public final class VirtualDirectory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAIN |
Constructor and Description |
---|
VirtualDirectory()
Create a virtual directory.
|
Modifier and Type | Method and Description |
---|---|
java.io.PrintWriter |
create(java.lang.String name)
Create a file.
|
java.lang.String |
read(java.lang.String name)
Get the content of a file.
|
public java.io.PrintWriter create(java.lang.String name)
name
- the name of the file.public java.lang.String read(java.lang.String name)
name
- the name of the file.