class LocalResourceId implements ResourceId {

  @Override
  public @Nullable String getFilename() {
    Path fileName = getPath().getFileName();
    return fileName == null ? null : fileName.toString();
  }

  private  LocalResourceId(Path path, boolean isDirectory);

}