如何在J2ME中验证IP地址字段 [英] How to do validation ofIP Address field in J2ME

查看:95
本文介绍了如何在J2ME中验证IP地址字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试对J2ME中的IP地址进行验证....我编写了JAVA的代码,但需要导入java包:import java.util.regex;但是在J2ME中,没有定义这样的包,我尝试了很多,但是找不到结果....

在此先感谢...等待答案.

I m trying to do validation for IP address in J2ME.... i wrote the code of JAVA but there is a need to import java package : import java.util.regex; but in J2ME no such package is defined i tried alot but unable to find the result....

Thanks in advance... waiting for answers.

推荐答案

尝试任何替代方法
http://code.google.com/p/regexp-me/ [ http://sourceforge.net/projects/regex2me/ [
Try any alternative
http://code.google.com/p/regexp-me/[^]
http://sourceforge.net/projects/regex2me/[^]


这将帮助您...
this will help u...http://www.javameblog.com/2007/12/how-to-get-ip-address-of-mobile-using.html[^]


这篇关于如何在J2ME中验证IP地址字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆