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

javaÖкº×ÖתƴÒô

´úÂëÈçÏ£º
¡¡¡¡ÒÔÏÂΪÒýÓõÄÄÚÈÝ£º
¡¡¡¡package com.example.pinyin.demo2;
¡¡¡¡import net.sourceforge.pinyin4j.PinyinHelper;
¡¡¡¡import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
¡¡¡¡import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
¡¡¡¡import net.sourceforge.pinyin4j.format.HanyuPinyinToneType;
¡¡¡¡import net.sourceforge.pinyin4j.format.HanyuPinyinVCharType;
¡¡¡¡import net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombination;
¡¡¡¡public class Pinyin {
¡¡¡¡/**
¡¡¡¡* ½«ºº×Öת»»ÎªÈ«Æ´
¡¡¡¡* @param src
¡¡¡¡* @return String
¡¡¡¡*/
¡¡¡¡public static String getPinYin(String src) {
¡¡¡¡         char[] t1 = null;
¡¡¡¡         t1 = src.toCharArray();
¡¡¡¡        // System.out.println(t1.length);
¡¡¡¡         String[] t2 = new String[t1.length];
¡¡¡¡         // System.out.println(t2.length);
¡¡¡¡         // ÉèÖúº×ÖÆ´ÒôÊä³öµÄ¸ñʽ
¡¡¡¡         HanyuPinyinOutputFormat t3 = new HanyuPinyinOutputFormat();
¡¡¡¡         t3.setCaseType(HanyuPinyinCaseType.LOWERCASE);
¡¡¡¡         t3.setToneType(HanyuPinyinToneType.WITHOUT_TONE);
¡¡¡¡         t3.setVCharType(HanyuPinyinVCharType.WITH_V);
¡¡¡¡         String t4 = "";
¡¡¡¡         int t0 = t1.length;
¡¡¡¡         try {
¡¡¡¡                for (int i = 0; i < t0; i++) {
¡¡¡¡                  &n


Ïà¹ØÎĵµ£º

JavaÐéÄâ»ú£¨JVM£©²ÎÊýÅäÖÃ˵Ã÷

×¢£º±¾ÎÄת×Ôhttp://lavasoft.blog.51cto.com µÄJavaÐéÄâ»ú£¨JVM£©²ÎÊýÅäÖÃ˵Ã÷£¬×÷Ϊ×Ô¼ºÑ§Ï°Óá£
JavaÐéÄâ»ú£¨JVM£©²ÎÊýÅäÖÃ˵Ã÷
 
ÔÚJava¡¢J2EE´óÐÍÓ¦ÓÃÖУ¬JVM·Ç±ê×¼²ÎÊýµÄÅäÖÃÖ±½Ó¹ØÏµµ½Õû¸öϵͳµÄÐÔÄÜ¡£
JVM·Ç±ê×¼²ÎÊýÖ¸µÄÊÇJVMµ×²ãµÄһЩÅäÖòÎÊý£¬ÕâЩ²ÎÊýÔÚÒ»°ã¿ª·¢ÖÐĬÈϼ´¿É£¬²»ÐèÒªÈκÎÅäÖᣵ«ÊÇÔÚÉú ......

JAVA¶ÁÈ¡CSV

Ê×Ïȵ½¸Ãhttp://ostermiller.org/utils/download.html µØÖ·ÏÂÔØcom.Ostermiller.util cvsµÄjar°ü¡£
public class CsvFileParser{
private LabeledCSVParser csvParser;//csv½âÎöÆ÷£¬¶ÔÓÚµÚÒ»ÐеıíÍ·ÐÅÏ¢£¬×Ô¶¯¼ÓÔØÎªË÷Òý¹Ø¼ü×Ö
private int currLineNum = -1;//ÎļþËù¶Áµ½ÐÐÊý
private String[] currLi ......

ÓÃjavaµ÷ÓÃoracle´æ´¢¹ý³Ì×ܽá

ÉùÃ÷£º
ÒÔϵÄÀý×Ó²»Ò»¶¨ÕýÈ·£¬Ö»ÊÇΪÁËÑÝʾ´ó¸ÅµÄÁ÷³Ì¡£
Ò»£ºÎÞ·µ»ØÖµµÄ´æ´¢¹ý³Ì
´æ´¢¹ý³ÌΪ£º
CREATE OR REPLACE PROCEDURE TESTA(PARA1 IN VARCHAR2,PARA2 IN VARCHAR2)  AS
BEGIN
   INSERT INTO HYQ.B_ID (I_ID,I_NAME) VALUES (PARA1, PARA2);
END TESTA;
È»ºóÄØ£¬ÔÚjavaÀïµ÷ÓÃʱ¾ÍÓÃÏÂÃæµÄ´ ......

java Òì³£Exception ¼¯


<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:ËÎÌå;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@SimSun&qu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ