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

air£¬java£¬DelphiµÝ¹é»ñµÃÎļþ¼Ð¼°Æä×ÓÎļþÐÅÏ¢

°ÑÒÔǰ×ö¹ýµÄÏîÄ¿×ܽáһϣ¡²Î¼Ó¹¤×÷ÒÔÀ´Ò»¹²ÓÃÈýÖÖ²»Í¬ÓïÑÔʵÏÖÁË»ñµÃÎļþ¼Ð¼°Æä×ÓÎļþÐÅÏ¢¡£ÎªÁË·½±ãÒÔºóʹÓÃ×ܽáÒ»ÏÂ
airʵÏÖ£º 
private function getfile(filelist:File):Array{  
  var list:Array = filelist.getDirectoryListing();
  var count:uint=list.length;
  for (var i:uint = 0; i < count; i++) {
   if(list[i].isDirectory) {
    var listtemp:Array = getfile(list[i]);    
    list = list.concat(listtemp);
   }else{
    continue;
   }     
  }
  return list;
 }
°Ñ×îºóµÄÎļþÐÅÏ¢·Åµ½arrayÀïÃæ
delphiʵÏÖ£º
procedure Tallmark.GetDirectoryFiles(const ADirectory: string;
  fileList: TStrings);
var
  Dir: TSearchRec;
  Ret: integer;
  Path: string;
begin
  if fileList <> nil then
  begin
    Path := ExtractFilePath(ADirectory);
    Ret := Sysutils.FindFirst(ADirectory, faAnyFile, Dir);
    if Ret <> NO_ERROR then exit;
    try
      while ret = NO_ERROR do
      begin
        if Dir.attr and faDirectory = 0 then fileList.Add(path + Dir.Name);
        if (Dir.Attr in [faDirectory]) and (Dir.Name[1] <> '.') then
        begin
          GetDirectoryFiles(Path + Dir.Name + '\*.dbf', fileList);
        end;
        Ret := Sysutils.FindNext(Dir);
      end;
    finally
      Sysutils.FindClose(Dir);
    end;
  end;
end;
°ÑËùÓеÄÎļþÐÅÏ¢·Åµ½Ò»¸öTStringsÀïÃæ


Ïà¹ØÎĵµ£º

java WebService

In recent years, web services have emerged as a popular technology for remote method calls. Technically, a web service has two components:
A service that can be accessed with the SOAP transport protocol
A description of the service in the WSDL format
SOAP is an XML protocol for invoking remote me ......

JAVAÈçºÎµ÷ÓÃVOS2009½Ó¿Ú

ÎÒÔÚ×öVOS2009µÚ3·½½Ó¿Úµ÷Óã¬Í¨¹ýÕâ¸ö½Ó¿ÚÒª»ñÈ¡Óà¶îÏÔʾµ½webÉÏÓà¶î¡£
ÎÒÖªµÀjava´¦ÀíHTTP postÊý¾ÝÒÔ¼°webserviceÏà¹ØµÄÊý¾Ý£¬¿ÉÊǶÔÓÚvosÕâÖÖ½Ó¿ÚûŪ¹ý£¬²»Çå³þÔõôʵÏÖ£¬ÎÒ´ÓÍøÉÏÕÒÁËÏ£¬¿´µ½Óиö˵ÊÇͨ¹ýUDP·¢Ëͱ¨ÎÄʵÏֵ쬵«ÊDz»ÖªµÀÈçºÎÓÃjavaʵÏÖ£¬Âé·³ÓÐÖªµÀµÄ´Í½ÌÏ£¬Ð»Ð»£¡
ʾÀý±¨ÎĽṹ
OPTIONS sip:80 ......

JavaÏß³ÌÖ®Thread Per Message Pattern

Thread-Per-Message PatternµÄ²ÎÓëÕߣº
1. Client£¨Î¯ÍÐÈË£©²ÎÓëÕß
    Client²ÎÓëÕß»á¶ÔHost²ÎÓëÕß·¢³öÇëÇó¡£Client²ÎÓëÕß²¢²»ÖªµÀHost²ÎÓëÕß»áÈçºÎʵÏÖÕâ¸öÇëÇó¡£
2. Host²ÎÓëÕß
    µ±Host²ÎÓëÕß½ÓÊÕµ½Client²ÎÓëÕßµÄÇëÇóʱ£¬»á½¨Á¢ÐµÄÏ̲߳¢Æô¶¯Ëü¡£
    Õâ¸öеÄÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ