code: public static String getTableNameFromUri(final URI resourceAddress, final boolean usePathStyleUris) {
          return getResourceNameFromUri(resourceAddress, usePathStyleUris,
                  String.format("Invalid table address '%s', missing table information", resourceAddress));
      }
docs: Get the table name from address from the URI.
  
  @param resourceAddress
  The table Uri.
  @param usePathStyleUris
  a value indicating if the address is a path style uri.
  @return table name from address from the URI.
  @throws IllegalArgumentException