@@ -0,0 +1,636 @@
+package tk.djcrazy.MyCC98.util;%0A%0Aimport java.util.regex.Matcher;%0Aimport java.util.regex.Pattern;%0A%0Aimport tk.djcrazy.libCC98.exception.CC98Exception;%0Aimport android.content.Intent;%0A%0A%0A// TODO %E5%8F%91%E7%8E%B0%E6%B2%A1%E6%B3%95%E5%8C%BA%E5%88%86%E6%98%AF%E5%90%A6%E6%98%AF%E7%88%B6%E7%89%88%E9%9D%A2%EF%BC%8C%E6%97%A0%E9%99%90%E6%9C%9F%E6%90%81%E7%BD%AE%0Apublic class ActivityRequestDispatcher %7B%0A%0A%09public static Intent dispatchCC98URL(String url) throws CC98Exception %7B%0A%09%09if (url.contains(%22list.asp%22)) %7B%0A%09%09%09// board list%0A%09%09%09Matcher matcher = Pattern.compile(%22(?%3C=/list%5C%5C.asp%5C%5C?boardid=)%5C%5Cd%7B1,4%7D?%22, Pattern.DOTALL).matcher(url.toLowerCase());%0A%09%09%09if (matcher.find()) %7B%0A%09%09%09%09String boardId = matcher.group();%0A%09%09%09%7D%0A %09%09%7D  %0A%09%09throw new CC98Exception(%22Not illegal CC98 Url:%22+url);%0A%09%09 %0A%09%7D%0A%7D%0A

add some dispatcher, not used now