|
JanosVM v1.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.utah.janosvm.kit.server.memfs.MemoryFile
The MemoryFileSystem version of the java.io.File class.
Constructor Summary | |
MemoryFile(java.lang.String fileName)
Construct a MemoryFile object that refers to the given file. |
Method Summary | |
boolean |
delete()
Delete the file. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MemoryFile(java.lang.String fileName) throws java.io.FileNotFoundException
fileName
- The name of the file in the MemoryFileSystem.Throws
- a FileNotFoundException if the file couldn't be
found or the server team was unreachable.Method Detail |
public boolean delete() throws java.io.IOException
Throws
- an IOException if the file couldn't be found or the
server team was unreachable.public java.lang.String toString()
toString
in class java.lang.Object
|
JanosVM v1.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |