boolean function ( String arg0 ) { return ( arg0 == null ) ? false : ( Patterns . WEB_URL . matcher ( arg0 ) . matches ( ) || Patterns . IP_ADDRESS . matcher ( arg0 ) . matches ( ) ) ; }
validate an url with pattern http://developer.android.com/reference/android/util/patterns.html#web_url or #ip_address concode_field_sep String[] WRONG_CLOUD_URLS concode_field_sep boolean isServerNameValid concode_elem_sep String getAccountNameFromURL concode_elem_sep String encodeDocumentUrl concode_elem_sep boolean isEmailValid concode_elem_sep boolean isDocumentUrlValid concode_elem_sep String stripUrl concode_elem_sep void setLoadingItem concode_elem_sep boolean isURLForbidden concode_elem_sep boolean isCorrectIPAddress concode_elem_sep boolean isUsernameValid concode_elem_sep String capitalize