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

IBM FileNet Content Java API ¼ò½é

2008 Äê 6 ÔÂ 24 ÈÕ
Ô­ÎĵØÖ·£º http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0806wangys/
±¾ÎĽéÉÜ IBM FileNet P8 4.0 Platform ÌṩµÄ Content Java API¡£Ê×ÏÈ¶Ô FileNet P8 Content Engine ºÍ API ½øÐиÅÒª½éÉÜ, ²¢ËµÃ÷ÁËһЩ»ù±¾¸ÅÄËæºóÏêϸ½éÉÜÁË FileNet Content EngineÌṩµÄ»ùÓÚ EJB ºÍ Web Service µÄÓ¦ÓóÌÐò¿ª·¢½Ó¿Ú¡£½èÖú±¾ÎÄ£¬¶ÁÕß¿ÉÒÔÇáËɵÄÕÆÎÕ P8 Content Engine API µÄʹÓ÷½·¨£¬²¢Í¨¹ýÔËÐкÍÔĶÁ±¾ÎÄÌṩµÄÀý×ÓÀ´Á˽â¸÷¸ö API µÄ¹¦ÄܺÍʹÓ÷½·¨¡£
FileNet Content Engine ¸ÅÊö
IBM FileNet Content Engine ÊÇ IBM FileNet P8 ƽ̨ÉϸºÔðÄÚÈݹÜÀíµÄºËÐĽâ¾ö·½°¸¡£ÆóÒµÊý¾Ý¿ÉÒÔ·ÖΪÈýÀࣺ
½á¹¹»¯Êý¾Ý£¨Structured Data£©- ±»Êý¾Ý¿âÓ¦ÓóÌÐòÑϸñ¹ÜÀíµÄÊý¾Ý¡£ÀýÈç¹ØϵÊý¾Ý¿âÖеÄÊý¾Ý»ò ERP ϵͳÖеÄÊý¾Ý¡£
°ë½á¹¹»¯Êý¾Ý£¨Semi-structured Data£©- ±»Êý¾Ý¿âÓ¦ÓóÌÐò½øÐÐËÉÉ¢¹ÜÀíµÄÊý¾Ý . ÀýÈç Email, Messaging¡£
·Ç½á¹¹»¯Êý¾Ý£¨Unstructured Data£©- ²»±»ÈκÎÓ¦ÓóÌÐò»òÊý¾Ý·þÎñÆ÷¹ÜÀíºÍ¿ØÖƵÄÊý¾Ý . ÀýÈçÔ±¹¤µÄ¼Òͥסַ , ´«ÕæÎļþ , Microsoft word ÎĵµµÈ¡£
FileNet Content Engine ¶ÔÕâÈýÀàÊý¾Ý½øÐÐͳһ¼¯ÖÐʽ¹ÜÀí£¬´Ó¶øÌṩÆóÒµÄÚÈݹÜÀí£¨ECM – Enterprise Content Management£©½â¾ö·½°¸¡£¾ßÌ幦ÄÜ°üÀ¨£º¶ÔÎïÀíÊý¾Ý½¨Á¢Âß¼­Ë÷Òý£»¶ÔÄÚÈݵÄËÑË÷ºÍ´æÈ¡£»°æ±¾¹ÜÀíÒÔ¼°²»Í¬²ã´ÎµÄ°²È«ÐÔ¹ÜÀíµÈ¡£Í¬Ê±£¬ËüµÄÎĵµ¹ÜÀí¹¦ÄÜÓë FileNet Process Manager Ïà½áºÏ , »¹¿ÉÒÔʵÏÖÆóÒµ¹¤×÷Á÷ºÍÒµÎñ¹ý³ÌµÄ×Ô¶¯»¯ÊµÏֺ͹ÜÀí .
»ù±¾¸ÅÄî
ÕâÀï½éÉÜһЩ FileNet Content Engine ÖеĻù±¾¸ÅÄ½«ÓÐÖúÓÚ¶ÁÕßÔĶÁºÍÀí½âÏÂÃæµÄÄÚÈÝ¡£
FileNet P8 Domain
FileNet P8 Domain ÊÇÒ»¸öÂß¼­Éϵļ¯ºÏ£¬Ëü°üº¬Ò»ÏµÁÐÎïÀí×ÊÔ´£¨±ÈÈç Object Store µÈ£©£¬»¹°üº¬ Content Engine ·þÎñÆ÷£¬¿Í»§¶ËÐèҪͨ¹ýÕâЩ·þÎñÆ÷ÌṩµÄ·þÎñÀ´·ÃÎÊͬһ¸ö Domain ÖеÄÎïÀí×ÊÔ´¡£Í¬Ê±Ëü»¹¹ØÁªµ½Ò»¸ö»ò¶à¸ö security realm£¬À´Íê³É¶ÔÓû§µÄÉí·ÝÈÏÖ¤ºÍȨÏÞ¿ØÖÆ¡£FileNet ÖеÄÈÎÒ»×ÊÔ´£¬±ØÐëÊôÓÚ²¢Ö»ÊôÓÚÒ»¸ö Domain¡£
Object Store
Ò»¸ö Object Store ÊÇÒ»¸ö¶ÀÁ¢µÄ¡¢´æÔÚÓÚ Domain µÄ¶ÔÏó¡£ËüÌṩÁ˶Ô×ÊÔ´µÄ·ÃÎʺʹæÈ¡£¬ÕâÀïµÄ×ÊÔ´°üÀ¨ documents£¬folders£¬ custom objects£¬ class descriptions£¬ property descriptions£¬ security policies µÈµÈ£¬ÒÔ¼°ÓйØÕâЩ×ÊÔ´µÄÔªÊý¾Ý¡£Object Store ´ú±íÁËÕâЩ×ÊÔ´ÔÚ server ÉϵĴ洢λÖÃ


Ïà¹ØÎĵµ£º

java ²é¿´Îļþ¼ÐÏÂÃæËùÓÐÎļþÒÔ¼°Îļþ¼Ð

import java.io.File;
import java.util.Date;
import java.util.Iterator;
import java.util.Vector;
import java.text.SimpleDateFormat;
public class FileViewer {
  File myDir;
  File[] contents;
  Vector vectorList;
  Iterator currentFileView;
  File currentFile;
  ......

javaÖÐStringÓëStringBufferµÄÇø±ð

ÔÚjavaÖÐÓÐ3¸öÀàÀ´¸ºÔð×Ö·ûµÄ²Ù×÷¡£
 
1.Character ÊǽøÐе¥¸ö×Ö·û²Ù×÷µÄ£¬
 
2.String ¶ÔÒ»´®×Ö·û½øÐвÙ×÷¡£²»¿É±äÀà¡£
 
3.StringBuffer Ò²ÊǶÔÒ»´®×Ö·û½øÐвÙ×÷£¬µ«ÊǿɱäÀà¡£
 
String:
ÊǶÔÏó²»ÊÇԭʼÀàÐÍ.
Ϊ²»¿É±ä¶ÔÏó,Ò»µ©±»´´½¨,¾Í²»ÄÜÐÞ¸ÄËüµÄÖµ.
¶ÔÓÚÒѾ­´æÔÚµÄString¶ÔÏóµÄÐÞ¸ ......

ÔÚjavaµ÷ÓÃexe£¬com¿ÉÖ´ÐÐÎļþºÍbat£¬cmdÅú´¦ÀíÎļþ

ÔÚjavaµ÷ÓÃexe£¬com¿ÉÖ´ÐÐÎļþºÍbat£¬cmdÅú´¦ÀíÎļþ
Ò»¡£ÔËÐÐexeÎļþ
    1. Java JDKÀïÒѾ­ÌṩÁ˵÷Óõķ½·¨£¬²»ÔÚÀÛ׸£¬´úÂëÈçÏ¡£
     try {
         String command = "notepad";
      & ......

½«java³ÌÐò±ä³Éexe¿ÉÖ´ÐÐÎļþ

½«java±àÖ¯³É.classºó£¬Èç¹ûÖ»ÊÇÓÃjavaÃüÁîÀ´Ö´ÐÐ×ܾõµÃ²»ÊÇÌ«¹ýñ«£¬ÕÒ¸ö°ì·¨Éú³ÉÏñexeÎļþÒ»ÑùÓÃÊó±êË«»÷±ã¿ÉÖ´ÐеÄÎļþ£¬Ó¦¸ÃÊǺÜÓÐȤµÄ°¡¡£ÕâÀïÎÒÓÃÁËÒ»¸öÃû×Ö½Ð×öexe4jµÄÃâ·ÑСÈí¼þ£¬¸Ð¾õ²»´í¡£
¡¡¡¡Ê×ÏÈ£¬µ±È»ÊÇÒªÏÂÔظöexe4j¡£ÎÒµÄÊÇ2.2°æ±¾µÄ£¬license£ºL-g782dn2d-1f1yqxx1rv1sqd¡£
¡¡¡¡½Ó×Å£¬½«ÄãҪѡÔñºÃÄã¼´½« ......

Java´úÂëÓÅ»¯

¿É¹©³ÌÐòÀûÓõÄ×ÊÔ´£¨ÄÚ´æ¡¢CPUʱ¼ä¡¢ÍøÂç´ø¿íµÈ£©ÊÇÓÐÏ޵ģ¬ÓÅ»¯µÄÄ¿µÄ¾ÍÊÇÈóÌÐòÓþ¡¿ÉÄÜÉÙµÄ×ÊÔ´Íê³ÉÔ¤¶¨µÄÈÎÎñ¡£ÓÅ»¯Í¨³£°üº¬Á½·½ÃæµÄÄÚÈÝ£º¼õС´úÂëµÄÌå»ý£¬Ìá¸ß´úÂëµÄÔËÐÐЧÂÊ¡£±¾ÎÄÌÖÂÛµÄÖ÷ÒªÊÇÈçºÎÌá¸ß´úÂëµÄЧÂÊ¡£
ÔÚJava³ÌÐòÖУ¬ÐÔÄÜÎÊÌâµÄ´ó²¿·ÖÔ­Òò²¢²»ÔÚÓÚJavaÓïÑÔ£¬¶øÊÇÔÚÓÚ³ÌÐò±¾Éí¡£Ñø³ÉºÃµÄ´úÂë±àдϰ¹ß ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ