Path function ( Path [ ] arg0 , String arg1 ) { for ( Path loc0 : arg0 ) { Path loc1 = loc0 . normalize ( ) ; Path loc2 = loc1 . resolve ( arg1 ) . normalize ( ) ; if ( loc2 . startsWith ( loc1 ) ) { return loc2 ; } } return null ; }
tries to resolve the given path against the list of available roots . if path starts with one of the listed roots , it returned back by this method , otherwise null is returned . concode_field_sep FileSystem DEFAULT concode_elem_sep FileSystem ACTUAL_DEFAULT concode_field_sep FileSystem getDefaultFileSystem