public String[] toPath(){
  return Arrays.copyOf(resourcePath,resourcePath.length);
}

public String [ ] toPath ( ) { return Arrays . copyOf ( resourcePath , resourcePath . length ) ; }
gets this resource identifier as path segments .
