@Test public void testKSUri_isProjectUri() { assertTrue(KSUri.isProjectUri(this.projectUri, this.webEndpoint)); assertTrue(KSUri.isProjectUri(this.projectPreviewUri, this.webEndpoint)); assertFalse(KSUri.isProjectUri(this.updateUri, this.webEndpoint)); }
public static boolean isProjectUri(final @NonNull Uri uri, final @NonNull String webEndpoint) { return isKickstarterUri(uri, webEndpoint) && PROJECT_PATTERN.matcher(UriUtilsKt.path(uri)).matches(); }
KSUri { public static boolean isProjectUri(final @NonNull Uri uri, final @NonNull String webEndpoint) { return isKickstarterUri(uri, webEndpoint) && PROJECT_PATTERN.matcher(UriUtilsKt.path(uri)).matches(); } }
KSUri { public static boolean isProjectUri(final @NonNull Uri uri, final @NonNull String webEndpoint) { return isKickstarterUri(uri, webEndpoint) && PROJECT_PATTERN.matcher(UriUtilsKt.path(uri)).matches(); } private  KSUri(); }
KSUri { public static boolean isProjectUri(final @NonNull Uri uri, final @NonNull String webEndpoint) { return isKickstarterUri(uri, webEndpoint) && PROJECT_PATTERN.matcher(UriUtilsKt.path(uri)).matches(); } private  KSUri(); static boolean isApiUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isCheckoutUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isDiscoverCategoriesPath(final @NonNull String path); static boolean isDiscoverScopePath(final @NonNull String path, final @NonNull String scope); static boolean isDiscoverPlacesPath(final @NonNull String path); static boolean isHivequeenUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isKickstarterUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isKSFavIcon(final Uri uri, final String webEndpoint); static boolean isWebViewUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isNewGuestCheckoutUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectPreviewUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isSignupUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isStagingUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isCheckoutThanksUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isModalUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectSurveyUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdateCommentsUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdateUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdatesUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isUserSurveyUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isWebUri(final @NonNull Uri uri, final @NonNull String webEndpoint); }
KSUri { public static boolean isProjectUri(final @NonNull Uri uri, final @NonNull String webEndpoint) { return isKickstarterUri(uri, webEndpoint) && PROJECT_PATTERN.matcher(UriUtilsKt.path(uri)).matches(); } private  KSUri(); static boolean isApiUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isCheckoutUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isDiscoverCategoriesPath(final @NonNull String path); static boolean isDiscoverScopePath(final @NonNull String path, final @NonNull String scope); static boolean isDiscoverPlacesPath(final @NonNull String path); static boolean isHivequeenUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isKickstarterUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isKSFavIcon(final Uri uri, final String webEndpoint); static boolean isWebViewUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isNewGuestCheckoutUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectPreviewUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isSignupUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isStagingUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isCheckoutThanksUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isModalUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectSurveyUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdateCommentsUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdateUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isProjectUpdatesUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isUserSurveyUri(final @NonNull Uri uri, final @NonNull String webEndpoint); static boolean isWebUri(final @NonNull Uri uri, final @NonNull String webEndpoint);  }