2   h                               @d :    +         : :    D D H H H H H    D   W  \ \ \ \ \ \ \  f \ \ \ h  p   { {   { { { {                   ! +"#$%&' ()* + , -. /01 W 23 4 5 67 6 68 9 W": ;<= >?@NeededOutputStream InnerClassesanonymousFtpPasswdLjava/lang/String;log Lorg/apache/commons/logging/Log;ONLINE_URLS_EXCEPTION_MESSAGE ConstantValue ANONYMOUS SRBUSERNAME SRBPASSWD SLEEPTIMEId MAXLOOPNUMBER handlerListLjava/util/Hashtable; SignaturebLjava/util/Hashtable; SRBENDPOINT SRBMACHINEurldataStorageClassList?[Lorg/ecoinformatics/datamanager/download/DataStorageInterface; errorMessages[Ljava/lang/String; completedZsuccessbusy exceptionLjava/lang/Exception;ecogridEndPointentity.Lorg/ecoinformatics/datamanager/parser/Entity; sessionId(Lorg/ecoinformatics/datamanager/parser/Entity;Ljava/lang/String;Lorg/ecoinformatics/datamanager/download/EcogridEndPointInterface;)VCodeLineNumberTableLocalVariableTablethis9Lorg/ecoinformatics/datamanager/download/DownloadHandler;endPointBLorg/ecoinformatics/datamanager/download/EcogridEndPointInterface;W(Ljava/lang/String;Lorg/ecoinformatics/datamanager/download/EcogridEndPointInterface;)V StackMapTable3AgetHandlerFromHashM(Ljava/lang/String;)Lorg/ecoinformatics/datamanager/download/DownloadHandler;sourcehandler getInstance(Ljava/lang/String;Lorg/ecoinformatics/datamanager/download/EcogridEndPointInterface;)Lorg/ecoinformatics/datamanager/download/DownloadHandler;(Lorg/ecoinformatics/datamanager/parser/Entity;Ljava/lang/String;Lorg/ecoinformatics/datamanager/download/EcogridEndPointInterface;)Lorg/ecoinformatics/datamanager/download/DownloadHandler;putDownloadHandlerIntoHash<(Lorg/ecoinformatics/datamanager/download/DownloadHandler;)VdownloadHandlerremoveDownloadHandlerFromHashsetAnonymousFtpPasswd(Ljava/lang/String;)Vpasswdrun()Veindexstorage>Lorg/ecoinformatics/datamanager/download/DataStorageInterface;ilengthB waitingStorageInterfaceSerializecompletedInDataStorageClassListdownloadB([Lorg/ecoinformatics/datamanager/download/DataStorageInterface;)Z dataStoragesloadDataLjava/lang/Thread; ExceptionsisBusy()Z isCompleted isSuccessgetDataStorageClassListA()[Lorg/ecoinformatics/datamanager/download/DataStorageInterface;setDataStorageClassListB([Lorg/ecoinformatics/datamanager/download/DataStorageInterface;)VgetContentFromSource(Ljava/lang/String;)ZhttpURLConnectionLjava/net/HttpURLConnection; urlConnectionLjava/net/URLConnection; contentType errorMessageLjava/io/IOException; filestreamLjava/io/InputStream;urlPartsaddressdirfileName ftpClient&Lorg/apache/commons/net/ftp/FTPClient;Ljava/net/URL;isFTP eClassNameeMessage Ljava/net/MalformedURLException; explanationresourceNameEscaped responseCoderesponseMessagequalityCheckIdentifierqualityCheckTemplate5Lorg/ecoinformatics/datamanager/quality/QualityCheck;startendecogridIdentifier srbIdentifier resourceName successFlagonlineURLsQualityCheckonlineURLsExceptionCD embedInCDATA&(Ljava/lang/String;)Ljava/lang/String;valuegetContentFromEcoGridSource'(Ljava/lang/String;Ljava/lang/String;)ZauthenticatedEcogridClientaLorg/ecoinformatics/ecogrid/authenticatedqueryservice/AuthenticatedQueryServiceGetToStreamClient; ecogridClientGLorg/ecoinformatics/ecogrid/queryservice/QueryServiceGetToStreamClient;bosLjava/io/BufferedOutputStream; endPointURLstreamLLorg/ecoinformatics/datamanager/download/DownloadHandler$NeededOutputStream;oneLoopSuccessoutputStreamListM[Lorg/ecoinformatics/datamanager/download/DownloadHandler$NeededOutputStream;ee identifier\)transformSRBurlToDocidsrbURLdocidregexuser machineName replacementgetOutputStreamListO()[Lorg/ecoinformatics/datamanager/download/DownloadHandler$NeededOutputStream;oswLjava/io/OutputStream; dataStorgelistfinishSerializeerrorgetErrorMessages()[Ljava/lang/String;getUrl()Ljava/lang/String;%writeRemoteInputStreamIntoDataStorage(Ljava/io/InputStream;)Z firstKilobyteb[B bytesRead kilobytesos inputStreamyE SourceFileDownloadHandler.java  ;http://ecogrid.ecoinformatics.org/knb/services/QueryService A Ft Gt Ht Morg/ecoinformatics/datamanager/download/AuthenticatedEcogridEndPointInterface It Jt KL7org/ecoinformatics/datamanager/download/DownloadHandler java/lang/StringBuilder&Constructing DownloadHandler for URL: MN OtP QR st ST UL  VWjava/lang/Exception   $Error in DownloadHandler run method Xt pR B  6org/ecoinformatics/datamanager/database/DatabaseLoader YZ  [  java/lang/Thread \ <  ]thttp:// ^ https://file://ftp:// java/net/URL http _`java/net/HttpURLConnectionHEAD a b ct de ftfilegapplication/octet-streamh i jk uvC ljava/io/IOException#Error reading from the data source./ mn$org/apache/commons/net/ftp/FTPClient b anonymous oP p org/apache/commons/net/ftp/FTP qr s tuCorg/ecoinformatics/datamanager/download/DataSourceNotFoundException!Error closing local file '%s': %sjava/lang/Object vwftp x y z3Error disconnecting from FTP with resource '%s': %sjava/net/MalformedURLException {|} ~t%s: %s#The URL '%s' is a malformed URL: %sResponse Code: %d %s; %s !The URL '%s' is not reachable: %s onlineURLs 3org/ecoinformatics/datamanager/quality/QualityCheck   LM  true Succeeded in accessing URL:  falseFailed to access URL: ;  ecogrid://   e  OPsrb:// bM ij java/io/BufferedOutputStream  _org/ecoinformatics/ecogrid/authenticatedqueryservice/AuthenticatedQueryServiceGetToStreamClient  KEorg/ecoinformatics/ecogrid/queryservice/QueryServiceGetToStreamClient K 5DownloadHandler - error getting content from Ecogrid p seek: testuser.sdscTESTUSER:@ Jorg/ecoinformatics/datamanager/download/DownloadHandler$NeededOutputStream DownloadHandler.startSerialize()   o!DownloadHandler.finishSerialize() %s %s0 bytes were read. tjava/lang/String  E  Total Kilobytes Read: %d Ranonymous@domain.org java/util/Hashtable?http://srbbrick8.sdsc.edu:8080/SRBImpl/services/SRBQueryServicesrb-mcat.sdsc.edujava/lang/Runnable@org/ecoinformatics/datamanager/download/EcogridEndPointInterfaceG*2:4***34*5 *6* *!$+O[^+"9; BDH!M$J%L(N.Q6S;T@VA\E_J`Oe[j^g_i}oqstvwyz|tR%3_6 I K M U \ +  **<=>?*2:,*7*8=K=>?*2:,*7*8=§R #4>LRVX_gl}H. A g. ZA   - " @" @R*+9:Y*;M,<>*=!'* * (***,* * *6 !(-39AHM*RRD>  f+/*  /* /* /* >*+    A=N6++>L++?@+A@+B@ +C@6:DY+E:6*l: +F@1GH:  IJ K L:  M6 N:)+O@G:  P Q: 6R: * SJT: * U= V1: *  X:  Y@6 V :  V +Z[:  2: Z: 6   d'Y   2Z:   d2: \Y]:   ^ _%`W  aW cW d  e:*U=V:*fYghY+SYXSij 6:* X:Y@6V]:*fYghY+SYXSij 65:V(:*fYghY+SYXSij 6+k@@ ; l mW n(:*fYohY+SYXSij 6:qr:shYSYtSi: *fYuhY+SY Sij f:qr:shYSYXSi:  vhYwSYSY Si: *fYxhY+SY Sij y:z:{Y|N*-}*+~: +---Y M--Y : Y ** 0~: - *-+C+@:+Z `6+Z6 +6+:** ++@*+:*=WWWWWO_bW>p>WJ+,-/12 3)42589;:>=H>K@RAUD^EhFoGtH{IJKLMNOPRSVYZ]^hi`abcdhihijklmn&oDnJqTr]sdtouwv~wxz{}~  .2;>AOTZ_bdw{157<HSZ_fl ,3=?*h!!" #$ Uf% & ' =() . #' &'#'#'d#'x* r+ n, T3- ]*./ ()H?0K<1523 ?4W2?3 a'*5 Z6 ;7>859<:;+<!= >3 ?AA@?A=B;:CQ"D'S DE DEFGGH  DEI-PDEIJFGgGGGgH DEIJFHG$`G$DBKCGEGUDID.LMMY+NOPX >+,*:662:kcY:DY+E: * Y :  ,* Y :  ,>  >6>m>:> +% #*7 =!E$O%V&a(m)p+{-/024679;@ADGJMOPQRZ a QR {ST EOUVOEW0 *XY Z[\]^AG _T`aE bMLM+,N+>L:::Y:+-M,. ikmp qtuvwBxJ{RLLcJd Ae8f4/gB hij\L**L=*l*2N-;-*7. -*:Y*:+S#-:Y*:+S+S+N $5?KX]`dgty|RKklXXYgkltXY$\m r n\_K o>*/*=>"*2:*+߲ &  !-3=4 $  & >>p Wqr/* st/* uv  =*N-:+6WYhYYSYSi6*!*Y:*::I6  --- 2:: +66  -&- 2:  =hYwSi =N=--N=W+* !"$$%8&?)B0S1^2g5j6m7s9}:;<=9ABPQRSTPWZ[ \]`cdefhij^ wv1 * xyzB{jXYm|l [\']  })A\?F_~'`*#'F_FGH WJ"%Y³HI WYZ{@