Package org.teavm.runtime.fs.memory
Class InMemoryVirtualFileSystem
java.lang.Object
org.teavm.runtime.fs.memory.InMemoryVirtualFileSystem
- All Implemented Interfaces:
VirtualFileSystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncanonicalize(String path) String[]getRoots()booleanvoidsetUserDir(String userDir) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teavm.runtime.fs.VirtualFileSystem
isCaseSensitive
-
Constructor Details
-
InMemoryVirtualFileSystem
public InMemoryVirtualFileSystem()
-
-
Method Details
-
getFile
- Specified by:
getFilein interfaceVirtualFileSystem
-
getUserDir
- Specified by:
getUserDirin interfaceVirtualFileSystem
-
setUserDir
-
isWindows
public boolean isWindows()- Specified by:
isWindowsin interfaceVirtualFileSystem
-
canonicalize
- Specified by:
canonicalizein interfaceVirtualFileSystem
-
getRoots
- Specified by:
getRootsin interfaceVirtualFileSystem
-