Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaÖÐÈçºÎÅжÏÒ»¸ö×Ö·û´®µÄ¸ñʽ

/**
* check if the odivalue has a legal version format[0.0.0.0]
* @param odivalue:The odivalue extracted from SOAP
* @return :a boolean value,true or false
*/
public static boolean isCorrectVersion(String odivalue) {
// TODO Auto-generated method stub
Pattern pattern = Pattern.compile("[0-9]*" + "." + "[0-9]*" + "." + "[0-9]*" + "." + "[0-9]*");
Matcher isNum = pattern.matcher(odivalue);
if( !isNum.matches() )
{
return false;
}
return true;
}
²ÉÓÃjava.util.regex.MatcherºÍjava.util.regex.Pattern½øÐд¦Àí


Ïà¹ØÎĵµ£º

JAVA CLASSPATH ºÍPATHµÄÇø±ð ¾­µä

JAVA CLASSPATH ºÍPATHµÄÇø±ð ÊÕ²Ø
PATH:¡¡ÓÃÀ´Ö¸¶¨ java ÐéÄâ»ú(JVM) ËùÔÚÔÚĿ¼,Ò²¾ÍÊÇÎÒÃÇ×î³£ÓõÄÓÃÀ´±àÒëjavaÔ´³ÌÐòµÄjavac.exe ºÍÓÃÀ´Ö´ÐÐ *.class ÎļþµÄ java.exe ÕâÁ½¸öÃüÁî¡£ÒÔÎҵĻúÆ÷ΪÀý°É£ºÎÒµÄ jdk °´×°Ä¿Â¼Îª D:\jdk1.5.0_08£¨È·ÇеÄ˵ÎÒµÄÕâ¸öJDK²»ÊÇ°²×°°æ±¾µÄ£¬Ö±½Ó½âѹµ½ d:\ Ï嵀 £¬´ËʱÎÒµÄ path ¾ ......

JavaÖеÄÅÅÐò±È½Ï·½Ê½£º×ÔÈ»ÅÅÐòºÍ±È½ÏÆ÷ÅÅÐò

¡¡¡¡ÕâÀïËù˵µ½µÄJavaÖеÄÅÅÐò²¢²»ÊÇÖ¸²åÈëÅÅÐò¡¢Ï£¶ûÅÅÐò¡¢¹é²¢ÅÅÐòµÈ¾ßÌåµÄÅÅÐòËã·¨¡£¶øÊÇÖ¸Ö´ÐÐÕâЩÅÅÐòË㷨ʱ£¬±È½ÏÁ½¸ö¶ÔÏó“´óС”µÄ±È½Ï²Ù×÷¡£ÎÒÃǺÜÈÝÒ×Àí½âÕûÐ굀 i>j ÕâÑùµÄ±È½Ï·½Ê½£¬µ«µ±ÎÒÃǶԶà¸ö¶ÔÏó½øÐÐÅÅÐòʱ£¬ÈçºÎ±È½ÏÁ½¸ö¶ÔÏóµÄ“´óС”ÄØ£¿ÕâÑùµÄ±È½Ï stu1 > stu2 ÏÔÈ»ÊDz»¿É ......

´«ÖDz¥¿Íjavaѧϰ svn cvs

ÎÒ½ñÌìѧϰÁËëÀÏʦ½²µÄ
svn cvs
֪ʶ£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
 
 
°æ±¾¿ØÖÆ
:  °æ±¾¿ØÖÆ(Revision
control)ÊÇά»¤¹¤³ÌÀ¶Í¼µÄ±ê×¼×ö·¨£¬ÄÜ×·×Ù¹¤³ÌÀ¶Í¼´Óµ®ÉúÒ»Ö±µ½¶¨°¸µÄ¹ý³Ì¡£´ËÍ⣬°æ±¾¿ØÖÆÒ²ÊÇÒ»ÖÖÈíÌ幤³Ì¼¼ÇÉ£¬½è´ËÄÜÔÚÈíÌ忪·¢µÄ¹ý³ÌÖУ¬È·±£Óɲ»Í¬ÈËËù±à¼­µÄͬһÎļþµµ°¸¶¼ÄܵÃÒÔͬ²½¡£
Subver ......

´«ÖDz¥¿Íjavaѧϰ ½ÌÓý°ì¹«ÏµÍ³4

½ñÌì¼ÌÐø½ÌÓý°ì¹«ÏµÍ³µÄÂọ́¬½ñÌìÖ÷Òª½²µÄÊÇȨÏÞÄ£¿é£º
      
1. ¼¯³É spring-security ¿ò¼Ü
      
1). ¼ÓÈë spring-security µÄÁ½¸ö jar °ü
      
2). ÔÚ web.xml ÎļþÖмÓÈë¼ÓÈë spring-security ¿ò¼ÜµÄ¹ýÂËÆ÷
&n ......

´«ÖDz¥¿Íjavaѧϰ 3g¿ª·¢Android2

½ñÌìÊÇѧϰAndroid¿ª·¢µÄµÚ¶þÌ죺
      
½ñÌìÖ÷ҪѧϰÁËÎļþµÄ¶ÁÈ¡¡¢ÒÔ¼°¶ÔxmlÎļþµÄ½âÎö£º
ʹÓÃÎļþ½øÐÐÊý¾Ý´æ´¢£º
ActivityÌṩÁËopenFileOutput()·½·¨¿ÉÒÔÓÃÓÚ°ÑÊý¾ÝÊä³öµ½ÎļþÖУ¬¾ßÌåµÄʵÏÖ¹ý³ÌÓëÔÚJ2SE»·¾³Öб£´æÊý¾Ýµ½ÎļþÖÐÊÇÒ»ÑùµÄ¡£
public class FileActivity extends Acti ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ