public static Path getTablePath(Path rootPath, String table) {
        return new Path(rootPath, encode(table));
    }
public static Path getTablePath ( Path rootPath , String table ) { return new Path ( rootPath , encode ( table ) ) ; }
Gets the path for a table from the given root.