Edit C:\apache-tomcat-7.0.69\webapps\sword\WEB-INF\classes\org\purl\sword\client\CmdClient.class
???? 3? ?[\ [ ?] ?^ _ `ab cd ? ?e ?f ?gh ijk lm ?nopq [r s tu v wxy v ?z{ |} ~ ?? ?a?a?? ? ??? ?? |??? ?? ??? ?? ?? ??? ?? ?? ???????? A??? A??? G?? G?? G?? G?? G?? G? G??? G???? Y?? Y????? ?? ?? ??? f[ f? f? f? ? f? ? f? ? f? ? f? f? ? f??? f? ?? ?? {? {~ { {?????a? ?? ??? ?? ??? ??? l? ?? ?w? ???? ?w ???? ???? ?w ??? ?w ??? ?w?? ?? ?? ?w? ?? ?w? ? w ? ? ?? ? ? ?? ? ? ?a ? |aa i ? ? l ? ? ! |"#$ client #Lorg/purl/sword/client/SWORDClient; options %Lorg/purl/sword/client/ClientOptions; log Lorg/apache/log4j/Logger; <init> ()V Code LineNumberTable LocalVariableTable this !Lorg/purl/sword/client/CmdClient; process accessType Ljava/lang/String; mex Ljava/net/MalformedURLException; ex ,Lorg/purl/sword/client/SWORDClientException; StackMapTable?px service s accept *Lorg/purl/sword/base/SwordAcceptPackaging; i Ljava/util/Iterator; collection Lorg/purl/sword/base/Collection; accepts [Ljava/lang/String; acceptsPackaging Ljava/util/List; acceptPackagingList Ljava/lang/StringBuilder; workspace Lorg/purl/sword/base/Workspace; collections workspaces href document %Lorg/purl/sword/base/ServiceDocument; status Lorg/purl/sword/client/Status; LocalVariableTypeTable <Ljava/util/List<Lorg/purl/sword/base/SwordAcceptPackaging;>; 6Ljava/util/Iterator<Lorg/purl/sword/base/Collection;>; 5Ljava/util/Iterator<Lorg/purl/sword/base/Workspace;>;!%&'?? ?(q Exceptions post url file type message #Lorg/purl/sword/client/PostMessage; multiPost onBehalfOf destination 'Lorg/purl/sword/client/PostDestination; iterator =Ljava/util/Iterator<Lorg/purl/sword/client/PostDestination;>;? processPost &(Lorg/purl/sword/client/PostMessage;)V author Lorg/purl/sword/atom/Author; contributor !Lorg/purl/sword/atom/Contributor; link Lorg/purl/sword/atom/Link; entry Lorg/purl/sword/base/SWORDEntry; title Lorg/purl/sword/atom/Title; authors categories contributors links generator Lorg/purl/sword/atom/Generator; content Lorg/purl/sword/atom/Content; right Lorg/purl/sword/atom/Rights; summary Lorg/purl/sword/atom/Summary; response %Lorg/purl/sword/base/DepositResponse; 2Ljava/util/Iterator<Lorg/purl/sword/atom/Author;>; (Ljava/util/Iterator<Ljava/lang/String;>; 7Ljava/util/Iterator<Lorg/purl/sword/atom/Contributor;>; 0Ljava/util/Iterator<Lorg/purl/sword/atom/Link;>;)*+,-./? initialiseServer 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V location username password Ljava/net/URL; port I readLine &(Ljava/lang/String;)Ljava/lang/String; Ljava/io/IOException; prompt reader Ljava/io/BufferedReader; result ok Z run ((Lorg/purl/sword/client/ClientOptions;)V <clinit> SourceFile CmdClient.java ? ? org/purl/sword/client/Client ? ? ? ?012345671 #org/purl/sword/client/ClientOptions89 ? ? ? multipost:;< checking multi-post=>? ? Access type not recognised. java/net/MalformedURLException java/lang/StringBuilder "The specified href was not valid: @AB1 message: C1D1 *org/purl/sword/client/SWORDClientException Exception: ? ? Unable to process requestEFGH1I1BCJ1KLMN The status is: @O&P3 message is: %Q1RS ' The following Details were retrieved: SWORD Version: TUVW1 Supports NoOp? XY@Z Supports Verbose? [Y Max Upload File Size \3@] kB^_'`Yab org/purl/sword/base/Workspace Workspace Title: 'c1 ' + Collections ---d_ org/purl/sword/base/Collection Collection location: e1 Collection title: Abstract: f1 Collection Policy: g1 Treatment: h1 Mediation: iYjk Accepts: none specified Accepts: lm(_ (org/purl/sword/base/SwordAcceptPackagingn1 (op ), Accepts Packaging: + End of Collections --- &Please enter the URL for the deposit: KLq1 &Please enter the filename to deposit: r1 2Please enter the file type, e.g. application/zip: !org/purl/sword/client/PostMessages?t?u?vYwxyxzx{1|?}?~Yx %org/purl/sword/client/ClientConstants CASIS Test Client???_ %org/purl/sword/client/PostDestination?1 on behalf of: Sending file to: for: ??)?? Id: *?1c? Title: + type: ????? Not specified.?_ org/purl/sword/atom/Author Author - ?_ Category: java/lang/String?_ org/purl/sword/atom/Contributor Contributor - ?_ org/purl/sword/atom/Link?? Generator - , There is no generator Published: ?1n?- There is no content element.??. There is no right element.??/ There is no summary element. Update: ?1 Verbose Description: ?1 Packaging: ?1?Y NoOp: 4No valid Entry document was received from the server java/net/URL ???3?1?6?3 Setting the username/password: ?S??? ? java/io/BufferedReader java/io/InputStreamReader?? ?? ??? ?K1 java/io/IOException 5There was an error with your input. Please try again. ? ? org/purl/sword/client/CmdClient?? java/lang/Object org/purl/sword/client/ClientType #org/purl/sword/base/ServiceDocument org/purl/sword/client/Status java/util/Iterator java/util/List #org/purl/sword/base/DepositResponse org/purl/sword/base/SWORDEntry org/purl/sword/atom/Title org/purl/sword/atom/Generator org/purl/sword/atom/Content org/purl/sword/atom/Rights org/purl/sword/atom/Summary getProxyHost ()Ljava/lang/String; getProxyPort ()I !org/purl/sword/client/SWORDClient setProxy (Ljava/lang/String;I)V getAccessType equals (Ljava/lang/Object;)Z java/lang/System out Ljava/io/PrintStream; java/io/PrintStream println (Ljava/lang/String;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getHref getMessage toString org/apache/log4j/Logger error *(Ljava/lang/Object;Ljava/lang/Throwable;)V getUsername getPassword getOnBehalfOf getServiceDocument K(Ljava/lang/String;Ljava/lang/String;)Lorg/purl/sword/base/ServiceDocument; getStatus ()Lorg/purl/sword/client/Status; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; getCode marshall debug (Ljava/lang/Object;)V getService ()Lorg/purl/sword/base/Service; org/purl/sword/base/Service getVersion isNoOp ()Z (Z)Ljava/lang/StringBuilder; isVerbose getMaxUploadSize (I)Ljava/lang/StringBuilder; getWorkspaces ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; getTitle collectionIterator getLocation getAbstract getCollectionPolicy getTreatment getMediation getAccepts ()[Ljava/lang/String; getAcceptPackaging ()Ljava/util/List; getContent getQualityValue $()Lorg/purl/sword/base/QualityValue; getFilename getFiletype setFilepath setDestination setFiletype isMd5 setUseMD5 (Z)V setVerbose setNoOp getFormatNamespace setFormatNamespace setOnBehalfOf getChecksumError setChecksumError setUserAgent getMultiPost getUrl postFile J(Lorg/purl/sword/client/PostMessage;)Lorg/purl/sword/base/DepositResponse; getEntry "()Lorg/purl/sword/base/SWORDEntry; getId ()Lorg/purl/sword/atom/Title; print getType #()Lorg/purl/sword/atom/ContentType; org/purl/sword/atom/ContentType getAuthors getCategories getContributors getLinks getGenerator !()Lorg/purl/sword/atom/Generator; getPublished ()Lorg/purl/sword/atom/Content; getRights ()Lorg/purl/sword/atom/Rights; getSummary ()Lorg/purl/sword/atom/Summary; getUpdated getVerboseDescription getPackaging isNoOpSet getPort getHost setServer length info setCredentials '(Ljava/lang/String;Ljava/lang/String;)V clearCredentials in Ljava/io/InputStream; (Ljava/io/InputStream;)V (Ljava/io/Reader;)V flush getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? ? ? ? ? ? ? ? ? ? ? ? B *? *? Y? ? ? ? A B C ? ? ? ? ? ? ?*? ? ? *? *? ? *? ? ? *? ? L+? ? *? ? 3+? ? *? ? #+? ? ? ? *? ? ? ? ? XL? ? Y? ? *? ? ? ? +? ? ? ? ? )L? ? Y? ? +? !? ? ? ? "#+? $? ! i l ! i ? ? N K M ! R ) S 2 U 9 W B Y I [ R ] Z ^ a b i n l f m h ? n ? j ? l ? m ? o ? * ) @ ? ? m + ? ? ? % ? ? ? ? ? ? !? ?? B ?n ?% ? ? ? ?*? ? L*+*? ? %*? ? &? '*? +*? ? (? ) M*? ? * N? ? Y? +? -? ,? ? -? - ??? "? Y? .? ,? /? ? ? 0? 1? ? ? Y? 2? ,? 3? 4? ? ? ? ? Y? 5? ,? 3? 6? 7? ? ? ? Y? 8? ,? 3? 9? 7? ? ? ? Y? :? ,? 3? ;? <=? ? ? ,? 3? >:? ? ??? @ ? A:? ? Y? B? ? C? D? ? ? ? E? ? F:? ? ??? @ ? G:? ? Y? H? ? I? ? ? ? ? Y? J? ? K? ? ? ? ? Y? L? ? M? ? ? ? ? Y? N? ? O? ? ? ? ? Y? P? ? Q? ? ? ? ? Y? R? ? S? 7? ? ? T:? ?? ? U? ? =: ?6 6 ? * 2:? ? Y? V? ? ? ? ????? W: ? Y? : ? X :? ? ? 2? @ ? Y: ? Z? [? ? \? ,]? ? W??? ? Y? ^? ? ? ? ? ??v? _? ??$? ? ? ? z { } - ~ 7 P ? Z ? v ? ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?/ ?= ?@ ?H ?J ?O ?Y ?e ?v ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? ? ? ? ?% ?0 ?J ?d ?j ?q ?z ?? ?? ?? ?? ?? ?? ?? ?? ? ? ? J ? ? ? ? ? ? 9 ? ? et ? ? ? ? ? q h ? ? z _ ? ? ? ? ? O? ? ? ? ? ? ? ? ? ? ? ? -? ? ? 7? ? q h ? O? ? ? ? ? c ? ? ? F ? ? ? ? -? ? 8? ? ? ? ? ? ?*? ? L+? *`? aL*+*? ? %*? ? &? '*? ? bM,? *c? aM*? ? dN-? *e? aN? fY? g:,? h+? i-? j*? ? k? l*? ? m? n*? ? o? p*? ? q? r*? ? (? s*? ? t? uw? x*? y? ? ^ ? ? ? ? &