Class DirectoryNode
java.lang.Object
net.minecraft.util.filefix.virtualfilesystem.Node
net.minecraft.util.filefix.virtualfilesystem.DirectoryNode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbyPath(CopyOnWriteFSPath path) @Nullable Nodechildren()fileByPath(CopyOnWriteFSPath path) @Nullable Node(package private) voidremoveChild(String name)
-
Field Details
-
childNodes
-
-
Constructor Details
-
DirectoryNode
DirectoryNode(CopyOnWriteFSPath path)
-
-
Method Details
-
children
-
addChild
-
removeChild
-
getChild
-
directoryByPath
public DirectoryNode directoryByPath(CopyOnWriteFSPath path) throws CowFSNoSuchFileException, CowFSNotDirectoryException -
fileByPath
- Throws:
CowFSNoSuchFileException
-
byPath
- Throws:
CowFSNoSuchFileException
-
byPathOrNull
-