Network Tables Create New Folder

Java

I’m trying to create a separate program that uses network tables to get and set values, but I have not been able to find anything that will create a new directory on the network tables. Can you just do .getTable(“newTable”);

you can either do

NetworkTables.getTable("table/someSubTable")

or

NetworkTables.getTable("table").getSubTable("someSubTable")

if it doesn’t exist, it will automatically be created.