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

JAVA¶ÁÈ¡PDFÎļþ

ÔÚjavaÖÐÒª¶ÁÈ¡pdfÎļþÄÚÈÝ£¬ÎÒÃÇ¿ÉÒÔ½èÖúµÚÈý·½Èí¼þʵÏÖ¡£³£ÓõÄÊÇxpdf£¬±¾Îľͼòµ¥½éÉÜÔÚlinuxÏÂÈçºÎ°²×°xpdf£¬¼°ÔÚjavaÖÐÈçºÎÀûÓÃxpdf¶ÁÈ¡pdfÎļþÄÚÈÝ¡£
Ò».°²×°xpdf
       ÔÚfcϵÁÐÏ£¬²»Óð²×°£¬¿ÉÒÔÖ±½Óyum£¬µ«ÊDZÊÕß½¨Ò黹ÊÇÏÂÔØ°²×°µÄºÃ£¬ÒòΪ±ÊÕßÔø¾­Åöµ½¹ýÕâÑùµÄÎÊÌ⣬¿Í»§·þÎñÆ÷ÉϵÄxpdfÊÇyum°²×°µÄ£¬ÓÐһЩÌØÊâµÄpdfÎļþ¾ÍÎÞ·¨Ô¤ÀÀ£¬µ«Êǽ«yum°²×°µÄxpdfжÔØ£¬È»ºóÏÂÔØxpdf°²×°³ÌÐò£¬ÔÙÖØа²×°ºó£¬¾Í¿ÉÒÔÁË¡£
1.ÏÂÔØ
ok£¬ÎÒÃÇÐèÒªÏÂÔصÄxpdf°²×°°üÖ÷ÒªÓÐÈý¸ö£º
Ö÷³ÌÐò£ºftp://ftp.foolabs.com/pub/xpdf/xpdf-3.01pl2-linux.tar.gz
¼òÌåÖÐÎÄÖ§³Ö£ºftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-simplified.tar.gz
·±ÌåÖÐÎÄÖ§³Ö£ºftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-traditional.tar.gz
2.°²×°²¿Êð
(1)½øÈëÏÂÔØĿ¼£¬½«Ö÷³ÌÐò½âѹÖÁ/usr£¬Ò²¿ÉÒÔÊÇÆäËûµØ·½£¬¸ù¾Ý¸öÈËÇé¿ö¶ø¶¨¡£
#tar zvfx xpdf-3.01pl2-linux.tar.gz -C /usr
#cd usrÈ»ºó½«ÆäÖØÃüÃû£¬ÕâÑù¿´ÆðÀ´¼òµ¥µã
mv xpdf-3.01pl2-linux/ xpdf(2)½¨Á¢ÖÐÎÄÖ§³Ö¡£»Øµ½ÏÂÔØĿ¼£¬ÒÀ´ÎÖ´ÐУº
#tar zvfx xpdf-chinese-simplified.tar.gz -C /usr/xpdf
#mv  /usr/xpdf/xpdf-chinese-simplified /usr/xpdf/chinese-simplified
#tar zvfx xpdf-chinese-traditional.tar.gz -C /usr/xpdf
#mv  /usr/xpdf/xpdf-chinese-traditional /usr/xpdf/chinese-traditional(3)ÅäÖû·¾³
#vi /etc/bashrcÔö¼ÓÈçÏÂÄÚÈÝ
export PATH=/usr/xpdf/:$PATH
È·±£ÖØÆô»úÆ÷ºó£¬ÔÚ¿ØÖÆ̨ÊäÈëxpdf²»»áÌáʾÕÒ²»µ½ÃüÁî»òÎļþ¼´¿É¡£
(4)×ÊÔ´ÅäÖÃ
#cd /usr/xpdf
#cp sample-xpdfrc xpdfrc
#vi xpdfrc*ÔÚÎļþ¿ªÊ¼´¦Ôö¼ÓÈçÏÂÄÚÈÝ(½«/usr/xpdfÌ滻ΪxpdfµÄʵ¼Ê·¾¶)*
#----- begin Chinese Simplified support package (2004-jul-27)
cidToUnicode Adobe-GB1 "/usr/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode"
unicodeMap         ISO-2022-CN "/usr/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap"
unicodeMap         EUC-CN "/usr/xpdf/chinese-simplified/EUC-CN.unicodeMap"
unicodeMap         GBK "/usr/xpdf/chinese-simplified/GBK.unicodeMap"
cMapDir Adobe-GB1 "/usr/xpdf/chinese-simplifie


Ïà¹ØÎĵµ£º

JAVA±à³Ì¹æ·¶

1. Ó¦Ó÷¶Î§
±¾¹æ·¶Ó¦ÓÃÓÚ²ÉÓÃJ2EE¹æ·¶µÄÏîÄ¿ÖУ¬ËùÓÐÏîÄ¿ÖеÄJAVA´úÂ루º¬JSP£¬SERVLET£¬JAVABEAN£¬EJB£©¾ùÓ¦×ñÊØÕâ¸ö¹æ·¶¡£Í¬Ê±£¬Ò²¿É×÷ΪÆäËüÏîÄ¿µÄ²Î¿¼¡£
2. Éè¼ÆÀàºÍ·½·¨
2.1     ´´½¨¾ßÓкÜÇ¿ÄÚ¾ÛÁ¦µÄÀà
·½·¨µÄÖØÒªÐÔÍùÍù±ÈÀàµÄÖØÒªÐÔ¸üÈÝÒ×Àí½â£¬·½·¨ÊÇÖ¸Ö´ÐÐÒ»¸öͳһº¯ÊýµÄÒ»¶Î´úÂë¡£Àà³£± ......

JAVAʵÏÖµÄħ·½

δÍê³É ´ýÍêÉÆ
public class MagicCube {
/**
* Áù¸öÃæµÄϱêÖµ
* ¡õ5
* ¡õ¡õ¡õ¡õ 1234 ÕâËĸöÁ¬ÌåÕý·½ÐÎÏòºó˳ʱÕë°üΧ ÐγÉͲ״ È»ºó °Ñ5ºÍ6¿ÛÉÏ ¾ÍÐγÉÕý·½Ìå
* ¡õ6
*/
public static void main(String[] args) {
MagicCube mb = new MagicCube();
int i = 0;
for (Face f : mb.faces ......

java µ÷Óà delphi±àдµÄdll


ÓÐЩʱºò,ҪдһЩ³ÌÐò,ÔÚ JAVA ÀïÃæºÃÄÑʵÏÖ, µ«Èç¹ûʹÓÃÆäËü±à³ÌÓïÑÔÈ´ÓֱȽÏÈÝÒ×ʱ,ÎÒÃDz»·Áͨ¹ý JNI À´Èò»Í¬ÓïÑԵijÌÐò¹²Í¬Íê³É.
JNI µÄ½Ì³Ì, ÍøÉÏ C µÄ±È½Ï¶à,Java Ò²ÌṩÁË javah.exe Ϊ C ÓïÑ﵀ JNI ³ÌÐòÉú³ÉÍ·Îļþ, Èç¹ûÄãÊÇÒ»¸ö Delphi ±à³ÌÔ±, ÄÜ·ñÈà JAVA Óë Delphi ³ÌÐò½»»¥ÄØ? ´ð°¸Êǿ϶¨µÄ,½ñÌìÎÒÃǾÍÀ´ ......

java·¶ÐÍѧϰ

javaµÄ·¶ÐÍ»úÖÆ¿´ÆðÀ´ÓеãÏñC++µÄÄ£°æ£¬µ«Ïà±È½ÏC++µÄÄ£°æÀ࣬javaÖеķ¶ÐÍûÓйؼü×Ötemplate£¬²¢ÇÒÓÐ×Ų»Í¬µÄʵÏÖ»úÖÆ£¨±¾ÖÊÇø±ð£©¡£
·¶ÐÍÀà
    ÏÈ¿´Ò»¸ö·¶ÐÍÀàµÄÀý×Ó£º
public class Demo1<T> {
   private T value;
   public  Demo1(T value)  {
 &n ......

java Ï̳߳Ø

    Ðí¶àʱºòÎÒÃÇÐèÒªÓõ½Ïß³Ì ±ÈÈçÏ£ÍûÒ»¸ö¸½¼ÓµÄ¹¦ÄÜ ²»ÒªÓ°ÏìÕû¸öÁ÷³ÌµÄ¹¦ÄÜ£¬±ÈÈçij¸öÁ÷³ÌÐèÒª¼ÓÈëÈÕÖ¾£¬µ«ÊDz»Ï£Íû¼Ç¼ÈÕÖ¾µÄ¹¦ÄÜÓ°ÏìÕû¸öÁ÷³ÌµÄÐÔÄÜ£¬²»ÄÜÒòΪ¼Ç¼ÈÕÖ¾°ÑÕû¸öÁ÷³Ì¸ø¿¨×¡ÁË¡£ÔÚÕâ¸öÖÖÇé¿öÏ£¬ÎÒÃÇÐèҪʹÓÃÏ̡߳£ÈüǼÈÕÖ¾ÔÚµ¥¶ÀÒ»¸öÏß³ÌÀïÃæÅÜ£¬¾Í²»»áÓ°Ï춼ÆäËûÁ÷³ÌÁË¡£
   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ