Expose ITable paths (#200)

Closes #196
This commit is contained in:
Sam Carlberg
2017-05-27 00:02:45 -04:00
committed by Peter Johnson
parent 3d2f41d081
commit 417cf33f90
5 changed files with 31 additions and 0 deletions

View File

@@ -1102,4 +1102,14 @@ public class NetworkTable implements ITable, IRemote {
public double getDouble(String key, double defaultValue) {
return getNumber(key, defaultValue);
}
/**
* {@inheritDoc}
* @return
*/
@Override
public String getPath() {
return path;
}
}

View File

@@ -625,4 +625,10 @@ public interface ITable {
*/
@Deprecated
public double getDouble(String key, double defaultValue);
/**
* Gets the full path of this table.
*/
public String getPath();
}