2   g                               @d :    +         : :    D D H H H H H    D   W  \ \ \ \ \ \ \  e \ \ \ g  o   z z   z z z z                   +!"#$%& '() * + ,- ./0 W 12 3 4 56 5 57 8 W!9 :;< =>?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 StackMapTable2@getHandlerFromHashM(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;ilengthA 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 successFlagonlineURLsQualityCheckonlineURLsExceptionBC 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 inputStreamxD SourceFileDownloadHandler.java  ;http://ecogrid.ecoinformatics.org/knb/services/QueryService @ Es Fs Gs Morg/ecoinformatics/datamanager/download/AuthenticatedEcogridEndPointInterface Hs Is JK7org/ecoinformatics/datamanager/download/DownloadHandler java/lang/StringBuilder&Constructing DownloadHandler for URL: LM NsO PQ rs RS TK  UVjava/lang/Exception  $Error in DownloadHandler run method Ws oQ  A 6org/ecoinformatics/datamanager/database/DatabaseLoader XY Z  java/lang/Thread [ ;  \shttp:// ]https://file://ftp:// java/net/URL http ^_java/net/HttpURLConnectionHEAD ` a bs cd esfilefapplication/octet-streamg h ij tuB kjava/io/IOException#Error reading from the data source./ lm$org/apache/commons/net/ftp/FTPClient a anonymous nO o pq r stCorg/ecoinformatics/datamanager/download/DataSourceNotFoundException!Error closing local file '%s': %sjava/lang/Object uv ftp w x y3Error disconnecting from FTP with resource '%s': %sjava/net/MalformedURLException z{| }s%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   KL  true Succeeded in accessing URL:  falseFailed to access URL: ;  ecogrid://   d  NOsrb:// aL hi java/io/BufferedOutputStream  _org/ecoinformatics/ecogrid/authenticatedqueryservice/AuthenticatedQueryServiceGetToStreamClient  JEorg/ecoinformatics/ecogrid/queryservice/QueryServiceGetToStreamClient J 5DownloadHandler - error getting content from Ecogrid o seek: testuser.sdscTESTUSER:@ Jorg/ecoinformatics/datamanager/download/DownloadHandler$NeededOutputStream DownloadHandler.startSerialize()   n!DownloadHandler.finishSerialize() %s %s0 bytes were read. sjava/lang/String  D  Total Kilobytes Read: %d Qanonymous@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_6I K M U \ +   |**<=>?*2:,*7*8=K=>?*2:,*7*8=§J #4LRVX_gl}H.A g.ZA   - " @" @R*+9:Y*;M,<>*=!'* * (***,* * *6 !(-39AHM*RRD>  e+/*  /* /* /* >*+   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 bW c  d:*U=V:*eYfgY+SYXShi 6:* X:Y@6V]:*eYfgY+SYXShi 65:V(:*eYfgY+SYXShi 6+j@@ ; k lW m(:*eYngY+SYXShi 6:pq:rgYSYsSh: *eYtgY+SY Shi f:pq:rgYSYXSh:  ugYvSYSY Sh: *eYwgY+SY Shi x:y:zY{N*-|*+}: +-~--Y M--Y : Y ** 0}: - *-+C+@:+Z `6+Z6 +6+:** ++@*+:*=WWWWWO_bW>o>W+,-/189;:>=H>K@RAUD^EhFoGtH{IJKLMNOPRSVYZ]hi`abcdhihjklmn&oDnJqTr]sdtouwv~wxz}~  ;>AOTZ_bd15<HSZ_fl ,3=?*h! ! "# Uf$ % & ='( . #& %&#&#&d#&x) r* n+ T3, ]*-. '(H?/K<0512 ?3W1?2 a&*4 Z5 ;6>758<9:+;!< =3 >AA??@=A::BQ"C'S CD CDEFGG  CDH-PCDHIEFgFGFgG CDHIEGF$`F$CBJCFEFUCIC.KLMY+MNOT >+,*:662:kcY:DY+E: * Y :  ,* Y :  ,>  >6>m>:> +$ #*7 E$O%V&a(m)p+{-/024679;@ADGJMOPQRZ a PQ {RS EOTUOEV/ *WX YZ[\]@G ^T_`D aLLM+,N+>L:::Y:+-M,. ikmp qtuvwBxJ{RLLbJc Ad8e4/fB ghi\L**L=*l*2N-;-*7. -*:Y*:+S#-:Y*:+S+S+N $5?KX]`dgty|RKjkXWXgjktWX$\lr m[^K n>*/*=>"*2:*+߲ &  !-3=4$  & >>o Wpq/* rs/* tu  =*N-:+6WYgYYSYSh6*!*Y:*::I6  --- 2:: +66  -&- 2:  =gYvSh =N=--N=W+) !"$$%?)B0S1^2g5j6m7s9}:;<=9ABPQRSTPWZ[ \]`cdefhij^ vv1 * wxyBzjWXm{k Z[&\  |(@\?E^}'_~*#'E^EFH WK#%YHIWYZz@