"

2013 FRC Java API

"

edu.wpi.first.wpilibj.networktables
Class NetworkTableProvider

java.lang.Object
  extended by edu.wpi.first.wpilibj.networktables.NetworkTableProvider
All Implemented Interfaces:
ITableProvider

public class NetworkTableProvider
extends Object
implements ITableProvider

Provides a NetworkTable for a given NetworkTableNode

Author:
Mitchell

Constructor Summary
NetworkTableProvider(NetworkTableNode node)
          Create a new NetworkTableProvider for a given NetworkTableNode
 
Method Summary
 void close()
          close the backing network table node
 NetworkTableNode getNode()
           
 ITable getRootTable()
           
 ITable getTable(String key)
          Get a table by name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkTableProvider

public NetworkTableProvider(NetworkTableNode node)
Create a new NetworkTableProvider for a given NetworkTableNode

Parameters:
node - the node that handles the actual network table
Method Detail

getRootTable

public ITable getRootTable()

getTable

public ITable getTable(String key)
Description copied from interface: ITableProvider
Get a table by name

Specified by:
getTable in interface ITableProvider
Parameters:
key - the name of the table
Returns:
a Table with the given name

getNode

public NetworkTableNode getNode()
Returns:
the Network Table node that backs the Tables returned by this provider

close

public void close()
close the backing network table node


"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"