public static boolean sameResource ( URI uri , String otherResource ) { try { return createUri ( otherResource ) . equals ( uri ) ; } catch ( DataSourceException e ) { return false ; } }
Determine if two URIs refer to the same resource .