public static String getUriPath ( Map < String , Object > tags ) { for ( Map . Entry < String , Object > entry : tags . entrySet ( ) ) { if ( isUriKey ( entry . getKey ( ) ) ) { return getUriPath ( entry . getValue ( ) . toString ( ) ) ; } } return null ; }
This method returns the URI value from a set of supplied tags by first identifying which tag relates to a URI and then returning its path value .