JTAPI Java Telephony API
½Ó´¥ÁËJTAPI¿ª·¢Ò»¶Îʱ¼ä£¬¸Õ¿ªÊ¼½Ó´¥Ê±£¬·Ç³£Í·´ó£¬ºÜ¶à¸ÅÄî²»ºÃÀí½â¡£ ÏÈÁиö¿ò¼Ü£¬¼Ç¼һÏÂ×Ô¼ºµÄѧϰ¹ý³Ì¡£
Ò»¡¢JTAPI (Java Telephony API )
ÔÚJTAPI֮ǰ£¬Ã¿¸ö¹«Ë¾¶¼ÊǸ÷×ÔµÄÒ»Ì×CTI¿ª·¢½Ó¿Ú¡£ÎªÁËͳһҵ½ç±ê×¼£¬SUN¹«Ë¾ÍƳöÁËjtapi±ê×¼½Ó¿Ú¡£¸Ã½Ó¿Ú¶¨ÒåÁ˺ô½ÐÖÐÐÄÖеĺܶà¶ÔÏó£¬ÈçAddress,Agent, Terminal, callµÈ£¬ÕâЩ¶ÔÏóÊǶÔÒµ½çºô½ÐÖÐÐÄÖи÷¸ö×é¼þµÄ³éÏó¡£Òò´Ë£¬²»¹ÜÊÇÔÚcisco,avaya»¹ÊÇ»ªÎªµÄCTIƽ̨£¬¶¼ÊÇÒ»Ò»¶ÔÓ¦ÆðÀ´µÄ£¬¶ø¶ÔÓÚjtapi½Ó¿ÚµÄÓ¦Óÿª·¢ÕßÀ´Ëµ£¬ÆÁ±ÎÁ˵ײãµÄ¸´ÔӵĶÔÏó¡£
¶þ¡¢JTAPIÖ÷Òª¶ÔÏó¡£
¸Õ¿ªÊ¼½Ó´¥JTAPIʱ£¬±»ÀïÃæÒ»¶Ñ¶ÔÏó¸ãµÃÍ·´ó£¬¶ÔÓÚû½Ó´¥¹ýºô½ÐÖÐÐĵĿª·¢ÕßÀ´Ëµ£¬¿ÉÄܸüÄÑÀí½âÁË¡£¶ÔÏóÖ®¼äµÄ¹ØÏµÒ²²»ÊǺܺÃÃ÷°×¡£
1. JtapiPeer.
¿´Á˰ëÌìSUNµÄÎĵµ£¬»¹²»ÊǺÜÀí½â¡£¸öÈËÈÏΪÕâ¸ö¶ÔÏóÆäʵÂù¼òµ¥µÄ£¬¾ÍÊÇJTAPI½Ó¿ÚµÄÈë¿Ú¡£ÔÚ»ùÓÚJTAPI½Ó¿Ú¿ª·¢Ê±£¬ÐèÒªÏÈ»ñÈ¡»ò´´½¨ÕâÑùÒ»¸ö¶ÔÏó¡£ Ò»°ãÀ´Ëµ£¬Õâ¸ö¶ÔÏóÓëÒ»¸öºô½ÐÖÐÐÄÊÇÒ»Ò»¶ÔÓ¦µÄ(1:1)£¬ÊµÏÖÉÏÖ»Ðè´´½¨Ò»¸öµ¥ÊµÀý¶ÔÏó¡£
2. Provider.
Õâ¸ö¶ÔÏó±È½ÏÖØÒª£¬ºÍÆäËû¼¸¸ö¶ÔÏó¶¼ÓйØÁª(¿´Ï½ӿڷ½·¨Ó¦¸Ã»á±È½ÏÇå³þ)¡£Õâ¸ö¶ÔÏó¿ÉÒÔ´´½¨¶à¸ö£¬Óëÿ¸ö×øÏ¯Ò»Ò»¶ÔÓ¦¡£
3. Address
¿ÉÒÔÀí½âΪµç»°ºÅÂ룬½ÓÈëÂë»òIPµØÖ·
4.Terminal
¿ÉÒÔÀí½âΪÎïÀíÉϵĵ绰£¬ÊÇÒ»¸öÂß¼¸ÅÄî¡£ ÓëAddressÊÇ1¶Ô¶àµÄ¹ØÏµ£¬Èç1¸öµç»°ºÅÂë¶ÔÓ¦¶à¸öµç»°¡£
5. call
Ò»¸öÂß¼¸ÅÄÀí½âΪһ¸öºô½Ð¹ý³Ì¡£
6.Agent
Ö¸×øÏ¯ÁË¡£
Èý¡¢JTAPIÖ÷Òª¶ÔÏóµÄ¹ØÏµ
ËÄ¡¢JTAPIµÄʵÏÖ
JTAPIÊÇÒ»Ì×±ê×¼½Ó¿Ú£¬²¢Ã»ÓоßÌåµÄʵÏÖ£¬Òò´ËÔÚʵÏÖ½Ó¿Ú֮ǰ£¬¸ÃÌ×½Ó¿Ú»¹²»¾ß±¸Èκι¦ÄÜ£¬¸ü̸²»ÉÏÓøýӿÚʵÏÖ´òµç»°µÄ¹¦ÄÜÁË¡£ JTAPIµÄʵÏÖÒ»°ãºÍCTIƽ̨ÊÇÅäÌ׵ģ¬Ã¿¸ö¹«Ë¾µÄʵÏֿ϶¨ÊDz»Í¬µÄ¡£
Îå¡¢JTAPIµÄÓ¦ÓÃ
ÔÚʵÏÖÁËJTAPI½Ó¿Úºó£¬²ÅÄÜÕæÕýµ÷ÓøýӿÚ×öÊ£¬Èçºô³ö£¬½ÓÌýÀ´»°µÈ¡£¡£¡£
ºóÐøÔÙ¸üС£¡£¡£¡£
Ïà¹ØÎĵµ£º
JavaÀï±ß½âÎöxmlÒ»°ãÓÐÈýÖÖ³£Óõļ¼Êõ£º
1¡¢ Document Object Model (DOM)£¬W3CÀï±ßÒ»ÖÖ³ÉÊìµÄ±ê×¼¡£Ä¿Ç°¹ã·ºÊ¹ÓõĽâÎö¹¤¾ß£ºJDOM DOM4J
2¡¢ Simple API for XML (SAX)£¬µÚÒ»ÖÖ±»¹ã·º½ÓÊܵÄXMLµÄAPI£¬³ÉΪÊÂʵÉϵıê×¼¡£
3¡¢ Streaming API for XML (StAX)£¬ÔÚJSR-173ÖÐÌáµ½µÄÒ»ÖÖºÜÓÐǰ;µÄÐÂÐͽâÎöÄ ......
ÍøÉÏתÌùµÄJavaÕýÔòºÜÈÃÈËʧÍû£¬Ò»ÆªJavaScriptÕýÔò¼¯Â¼±»ºÜ¶à²»¸ºÔðÈεÄÈËתÀ´×ªÈ¥£¬²¢´òÉÏJavaÕýÔòµÄ±êÌ⣬º¹£¬ÕæÊÇÀÃÈËÒ»¶Ñ¡£
// urlÕýÔò
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegularExpressionTest {
public static void main(String[] args) {
Pa ......
import java.io.File;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Iterator;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
public class ReadSetting {
......
1£©Java Language Specification, Third Edition (by James Gosling)
±¾ÊéÓÉJava¼¼ÊõµÄ·¢Ã÷Õß±àд£¬ÊÇJava TM±à³ÌÓïÑÔµÄȨÍþÐÔ¼¼ÊõÖ¸ÄÏ¡£Èç¹ûÄãÏëÖªµÀÓïÑÔÖ®¹¹ÔìµÄ¾«È·º¬Ò壬±¾ÊéÊÇ×îºÃµÄ×ÊÔ´¡£
&nbs ......