锘??xml version="1.0" encoding="utf-8" standalone="yes"?>91热爆在线观看,精品国产午夜,欧美日韩专区http://www.aygfsteel.com/fangw/category/2127.htmlj2ee鎶鏈佺綉緇溿亀eb絳夛紝鍚屽悕鐨勪漢鐪熷錛屾垜鐨凲Q鏄?0025404zh-cnThu, 30 May 2013 08:34:33 GMTThu, 30 May 2013 08:34:33 GMT60- 緗戦〉闈炲畾鏃跺埛鏂扮殑澶勭悊鎶宸?/title>http://www.aygfsteel.com/fangw/archive/2013/05/30/399977.html鏂逛紵鐨勫崥瀹?/dc:creator>鏂逛紵鐨勫崥瀹?/author>Thu, 30 May 2013 07:40:00 GMThttp://www.aygfsteel.com/fangw/archive/2013/05/30/399977.htmlhttp://www.aygfsteel.com/fangw/comments/399977.htmlhttp://www.aygfsteel.com/fangw/archive/2013/05/30/399977.html#Feedback0http://www.aygfsteel.com/fangw/comments/commentRss/399977.htmlhttp://www.aygfsteel.com/fangw/services/trackbacks/399977.html闃呰鍏ㄦ枃

]]> - java澶氱嚎紼嬬殑volatile鍏抽敭瀛?/title>http://www.aygfsteel.com/fangw/archive/2013/05/30/399973.html鏂逛紵鐨勫崥瀹?/dc:creator>鏂逛紵鐨勫崥瀹?/author>Thu, 30 May 2013 07:26:00 GMThttp://www.aygfsteel.com/fangw/archive/2013/05/30/399973.htmlhttp://www.aygfsteel.com/fangw/comments/399973.htmlhttp://www.aygfsteel.com/fangw/archive/2013/05/30/399973.html#Feedback0http://www.aygfsteel.com/fangw/comments/commentRss/399973.htmlhttp://www.aygfsteel.com/fangw/services/trackbacks/399973.html渚嬪鍋囧綰跨▼1錛岀嚎紼? 鍦ㄨ繘琛宺ead,load 鎿嶄綔涓紝鍙戠幇涓誨唴瀛樹腑count鐨勫奸兘鏄?錛岄偅涔堥兘浼氬姞杞借繖涓渶鏂扮殑鍊?
鍦ㄧ嚎紼?鍫哻ount榪涜淇敼涔嬪悗錛屼細write鍒頒富鍐呭瓨涓紝涓誨唴瀛樹腑鐨刢ount鍙橀噺灝變細鍙樹負6
綰跨▼2鐢變簬宸茬粡榪涜read,load鎿嶄綔錛屽湪榪涜榪愮畻涔嬪悗錛屼篃浼氭洿鏂頒富鍐呭瓨count鐨勫彉閲忓間負6
瀵艱嚧涓や釜綰跨▼鍙婃椂鐢╲olatile鍏抽敭瀛椾慨鏀逛箣鍚庯紝榪樻槸浼氬瓨鍦ㄥ茍鍙戠殑鎯呭喌銆?
闃呰鍏ㄦ枃
]]> - 涓涓搷浣淪tring鐨刯avabeanhttp://www.aygfsteel.com/fangw/archive/2005/07/13/7644.html鏂逛紵鐨勫崥瀹?/dc:creator>鏂逛紵鐨勫崥瀹?/author>Wed, 13 Jul 2005 08:03:00 GMThttp://www.aygfsteel.com/fangw/archive/2005/07/13/7644.htmlhttp://www.aygfsteel.com/fangw/comments/7644.htmlhttp://www.aygfsteel.com/fangw/archive/2005/07/13/7644.html#Feedback1http://www.aygfsteel.com/fangw/comments/commentRss/7644.htmlhttp://www.aygfsteel.com/fangw/services/trackbacks/7644.html'' ) {
buf.append( ">" );
}
else {
buf.append( ch );
}
}
return buf.toString();
}
/*USE:
*String replace( String line, String oldString, String newString )
*/
public static String replace( String line, String oldString, String newString ) {
int i=0;
if ( ( line == null || oldString == null ) ) {
return null;
}
if ( ( i=line.indexOf( oldString, i ) ) >= 0 ) {
int oLength = oldString.length();
int nLength = newString.length();
StringBuffer buf = new StringBuffer();
buf.append(line.substring(0,i)).append(newString);
i += oLength;
int j = i;
while( (i=line.indexOf(oldString,i)) > 0 ) {
buf.append(line.substring(j,i)).append(newString);
i += oLength;
j = i;
}
buf.append(line.substring(j));
return buf.toString();
}
return line;
}
/*USE:
*String replaceIgnoreCase( String line, String oldString, String newString )
*/
public static String replaceIgnoreCase( String line, String oldString, String newString ) {
if (line == null) {
return null;
}
String lcLine = line.toLowerCase();
String lcOldString = oldString.toLowerCase();
int i=0;
if ( ( i=lcLine.indexOf( lcOldString, i ) ) >= 0 ) {
char [] line2 = line.toCharArray();
char [] newString2 = newString.toCharArray();
int oLength = oldString.length();
StringBuffer buf = new StringBuffer(line2.length);
buf.append(line2, 0, i).append(newString2);
i += oLength;
int j = i;
while( ( i=lcLine.indexOf( lcOldString, i ) ) > 0 ) {
buf.append(line2, j, i-j).append(newString2);
i += oLength;
j = i;
}
buf.append(line2, j, line2.length - j);
return buf.toString();
}
return line;
}
/*USE:
*String convertUBB( String input )
*/
public static String convertUBB ( String input ) {
if( input == null || input.length() == 0 ) {
return input;
}
else {
input = replaceIgnoreCase( input , "<" ,"<" ) ;
input = replaceIgnoreCase( input , "<%" ,"<%" ) ;
input = replaceIgnoreCase( input , "%>" ,"%>" ) ;
input = replaceIgnoreCase( input , ">" ,">" ) ;
input = replaceIgnoreCase( input , "" ,"" ) ;
input = replaceIgnoreCase( input , "" ,"" ) ;
input = replaceIgnoreCase( input , "" ,"" ) ;
input = replaceIgnoreCase( input , "" ,"" ) ;
input = replaceIgnoreCase( input , "" ,"" ) ;
input = replaceIgnoreCase( input , "" ,"" ) ;
input = replaceIgnoreCase( input , "[red]" ,"" ) ;
input = replaceIgnoreCase( input , "[/red]" ,"" ) ;
input = replaceIgnoreCase( input , "
" ,"
" ) ;
input = replaceIgnoreCase( input , "
" ,"
" ) ;
input = replaceIgnoreCase( input , "
" ,"" ) ;
input = replaceIgnoreCase( input , "" ,"" ) ;
input = replaceIgnoreCase ( input , "
" , "
" ) ;
input = replaceIgnoreCase ( input , "
" , "
" ) ;
input = replace ( input , " " ," " ) ;
input = replace ( input , "\n" ,"
" ) ;
if ( input.indexOf("<") >= 0 ) {
int oldPre = input.indexOf( "<" , 0 ) ;
int oldEnd = input.indexOf( ">" , oldPre ) ;
int tempInt = 0 ;
StringBuffer setBlank = new StringBuffer () ;
while ( oldPre >= 0 && oldEnd > 0 ) {
setBlank = setBlank.append( input.substring( tempInt , oldPre) ) ;
setBlank = setBlank.append ( replace ( input.substring( oldPre ,oldEnd ) , " " , " " ) ) ;
tempInt = oldEnd ;
oldPre = input.indexOf( "<" , oldEnd ) ;
oldEnd = input.indexOf( ">" , oldPre ) ;
}
setBlank = setBlank.append ( input.substring( tempInt ) ) ;
input = setBlank.toString() ;
}
}
return input;
}
/*USE:
*String convertURL( String input , boolean urlFlag )
*/
public static String convertURL( String input , boolean urlFlag ) {
if( input == null || input.length() == 0 || urlFlag || input.indexOf("[url") != -1 ) {
return input;
}
else {
StringBuffer buf = new StringBuffer();
int i = 0, j = 0, oldend = 0;
int len = input.length();
char cur;
while ( ( i=input.indexOf( "http://", oldend) ) >= 0 ) {
j=i+7;
cur = input.charAt(j);
while (j < len) {
if (cur == '' '') break;
if (cur == ''<'') break;
if (cur == ''\n'') break;
if (cur == ''\r'' && j= 0 ) {
j = i + tagPreLength ;
j = input.indexOf( tagNameEnd , j ) ;
if ( j < 0 ) {
buf.append ( input.substring( oldend , len ) ) ;
errorFlag = true ;
break;
}
else {
buf.append( input.substring(oldend,i));
buf.append( tagContentPre );
buf.append( input.substring(i + tagPreLength ,j));
buf.append( tagContentEnd );
buf.append( input.substring(i + tagPreLength ,j)).append( tagAttach ) ;
}
oldend = j + tagEndLength ;
}
if ( !errorFlag ) {
buf.append(input.substring(j + tagEndLength,len));
}
return buf.toString();
}
catch ( IndexOutOfBoundsException IOBe ) {
return input;
}
catch ( Exception e ) {
return input;
}
}
}
//
public static String convertSpecialTage (
String input ,
String tagNamePre ,
String tagNameEnd ,
String tagContentPre ,
String tagContentEnd ) {
if( input == null || input.length() == 0 || input.indexOf( tagNamePre ) < 0 ) {
return input;
}
else {
try {
StringBuffer buf = new StringBuffer();
int i = 0, j = 0, oldend = 0;
int len = input.length();
int tagPreLength = tagNamePre.length() ;
int tagEndLength = tagNameEnd.length() ;
boolean errorFlag = false ;
char cur;
while ( ( i=input.indexOf( tagNamePre , oldend) ) >= 0 ) {
j = i + tagPreLength ;
j = input.indexOf( tagNameEnd , j ) ;
if ( j < 0 ) {
buf.append ( input.substring( oldend , len ) ) ;
errorFlag = true ;
break;
}
else {
buf.append( input.substring(oldend,i));
buf.append( tagContentPre );
buf.append( input.substring(i + tagPreLength ,j));
buf.append( tagContentEnd );
}
oldend = j + tagEndLength ;
}
if ( !errorFlag ) {
buf.append( input.substring(j + tagEndLength,len));
}
return buf.toString();
}
catch ( IndexOutOfBoundsException IOBe ) {
return input;
}
catch ( Exception e ) {
return input;
}
}
}
//
public static String convertSpecialTage (
String input ,
String tagNamePre ,
String tagNameEnd ,
String tagContentPre ,
String tagContentEnd ,
String tagAttach ,
String interval ) {
if( input == null || input.length() == 0 || input.indexOf( tagNamePre ) < 0 ) {
return input;
}
else {
try {
StringBuffer buf = new StringBuffer();
int i = 0, j = 0, oldend = 0;
int len = input.length();
int tagPreLength = tagNamePre.length() ;
int tagEndLength = tagNameEnd.length() ;
int intervalLength = interval.length() ;
boolean errorFlag = false ;
String tempString = null ;
char cur;
while ( ( i=input.indexOf( tagNamePre , oldend) ) >= 0 ) {
j = i + tagPreLength ;
j = input.indexOf( tagNameEnd , j ) ;
if ( j < 0 ) {
buf.append ( input.substring( oldend , len ) ) ;
errorFlag = true ;
break;
}
else {
int intervalPostion = input.indexOf( interval , i + tagPreLength ) ;
if ( intervalPostion + intervalLength >= j ) {
buf.append ( input.substring( oldend , len ) ) ;
errorFlag = true ;
break;
}
buf.append( input.substring(oldend,i));
buf.append( tagContentPre );
tempString = input.substring(i + tagPreLength ,intervalPostion ).trim() ;
if ( tempString.indexOf("\"") == 0 ) {
tempString = tempString.substring ( 1 , tempString.indexOf( "\"" , 1 ) ) ;
}
buf.append( tempString );
buf.append( tagContentEnd );
buf.append( input.substring( intervalPostion + intervalLength ,j ) ).append( tagAttach ) ;
}
oldend = j + tagEndLength ;
}
if ( !errorFlag ) {
buf.append(input.substring(j + tagEndLength,len));
}
return buf.toString();
}
catch ( IndexOutOfBoundsException IOBe ) {
return input;
}
catch ( Exception e ) {
return input;
}
}
}
/*USE:
*String convertIMG( String input )
*/
public static String convertIMG ( String input ) {
if( input == null || input.length() == 0 ) {
return input;
}
else {
return convertSpecialTage ( input , "" , "
" ) ;
}
}
/*USE:
*String convertSupperUBB( String input , int level )
*/
public static String convertSupperUBB ( String input , int level ) {
if( input == null || input.length() == 0 ) {
return input;
}
else {
level++ ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "" , "" , "" , "" ) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "[url=" , "][/url]" , "" , "" , "]" ) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "[color=" ,"][/color]" , "" , "" , "]" ) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "[size=" ,"][/size]" , "" , "" , "]" ) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "" , "" , "" , "" ) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "" , "
" ) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "[swf]" , "[/swf]" ,
""
) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "[url2]" , "[/url2]" , "" , "" ) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "[url2=" , "][/url2]" , "" , "" , "]" ) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "[a]" ,"[/a]" , "" ) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "[div=" ,"][/div]" , "" , "
" , "]" ) ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "[jsurl=" ,"][/jsurl]" , "" ,"" ,"]") ;
if ( level-- > 0 ) input = convertSpecialTage ( input , "[class=" ,"][/class]" , "" , "" , "]" ) ;
input = convertUBB ( input ) ;
return input ;
}
}
/*USE:
*String convertMAIL( String input )
*/
public static String convertMAIL ( String input ) {
if( input == null || input.length() == 0 ) {
return input;
}
else {
return convertSpecialTage ( input , "" , "" , "" , "" ) ;
}
}
/*USE:
*String convertSWF( String input )
*/
public static String convertSWF ( String input ) {
if( input == null || input.length() == 0 ) {
return input;
}
else {
return convertSpecialTage ( input , "[swf]" , "[/swf]" ,
""
) ;
}
}
}

]]>
主站蜘蛛池模板:
邛崃市|
河津市|
醴陵市|
黔南|
辉南县|
临武县|
安国市|
会泽县|
讷河市|
五家渠市|
沁阳市|
嵩明县|
兴海县|
饶阳县|
金山区|
宣恩县|
田阳县|
澄城县|
大方县|
娄底市|
蓬安县|
镇远县|
邓州市|
嘉鱼县|
南城县|
上虞市|
镇巴县|
修水县|
张掖市|
商城县|
大埔区|
德昌县|
尤溪县|
江口县|
武安市|
古丈县|
永平县|
克拉玛依市|
偃师市|
玉树县|
深水埗区|