Back to project page android-mvc-framework.
The source code is released under:
Apache License
If you think the Android project android-mvc-framework listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.android_mvc.sample_project.controller; //from w ww .j a va 2 s . com import com.android_mvc.sample_project.activities.func_net.HttpNetActivity; import com.android_mvc.sample_project.controller.util.ValidationsUtil; import com.android_mvc.framework.controller.validation.ValidationResult; /** * ??????????????????????????????? * @author id:language_and_engineering * */ public class FuncNetValidation extends ValidationsUtil { // Activity???????????????????????????????????? /** * HTTP?????????????????? */ public ValidationResult validate(HttpNetActivity activity) { initValidationOf(activity); assertNotEmpty("http_url"); assertStringHead("http_url", "http://"); return getValidationResult(); } }