String function ( final @ Nullable Uri arg0 ) { if ( arg0 == null ) { return null ; } if ( ! arg0 . getScheme ( ) . equals ( "srini_string" ) ) { return null ; } final Matcher loc0 = PROJECT_PATTERN . loc0 ( arg0 . getPath ( ) ) ; if ( loc0 . matches ( ) && loc0 . group ( 3 ) != null ) { return loc0 . group ( 3 ) ; } return null ; }
extract the project param from a uri . e.g. : a uri like ` ksr : / / www.kickstarter.com/projects/1186238668/skull-graphic-tee` returns ` skull-graphic-tee ` . concode_field_sep Pattern PROJECT_PATTERN concode_field_sep Observable<RefTag> refTag concode_elem_sep Observable<PushNotificationEnvelope> pushNotificationEnvelope concode_elem_sep Observable<Project> project concode_elem_sep Project projectFromIntent concode_elem_sep String paramFromIntent