Edit C:\apache-tomcat-7.0.69\webapps\sword\WEB-INF\classes\org\dspace\sword\SWORDMETSIngester.class
???? 3? n ? ? ? ? ? l ? ? ? ? ? l ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? n ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? * ? ? l ? l / A ? A A l A l !" l# a$ a% a&'()* V ? U+ U ?,-./0123 a4 a5 a6 a789 f ? f: f;<= >?@A InnerClasses MetadataFieldInfo swordService Lorg/dspace/sword/SWORDService; itemService (Lorg/dspace/content/service/ItemService; log Lorg/apache/log4j/Logger; <init> ()V Code LineNumberTable LocalVariableTable this $Lorg/dspace/sword/SWORDMETSIngester; ingest (Lorg/dspace/sword/SWORDService;Lorg/purl/sword/base/Deposit;Lorg/dspace/content/DSpaceObject;)Lorg/dspace/sword/DepositResult; collection Lorg/dspace/content/Collection; context Lorg/dspace/core/Context; depositFile Ljava/io/File; cfg Ljava/lang/String; pi -Lorg/dspace/content/packager/PackageIngester; licence params /Lorg/dspace/content/packager/PackageParameters; ingestedObject !Lorg/dspace/content/DSpaceObject; installedItem Lorg/dspace/content/Item; handleService )Lorg/dspace/handle/service/HandleService; handle dr Lorg/dspace/sword/DepositResult; re Ljava/lang/RuntimeException; e Ljava/lang/Exception; service deposit Lorg/purl/sword/base/Deposit; dso StackMapTable=BCD ?EFG ? ? ?H Exceptions setUpdatedDate 5(Lorg/dspace/core/Context;Lorg/dspace/content/Item;)V date Lorg/dspace/content/DCDate; Ljava/sql/SQLException; item field dc 6Lorg/dspace/sword/SWORDMETSIngester$MetadataFieldInfo;3- setSlug .(Lorg/dspace/content/Item;Ljava/lang/String;)V slugVal mfi configToDC \(Ljava/lang/String;Ljava/lang/String;)Lorg/dspace/sword/SWORDMETSIngester$MetadataFieldInfo; config def stz Ljava/util/StringTokenizer;8 getTreatment ()Ljava/lang/String; <clinit> SourceFile SWORDMETSIngester.java y zIJKLM u v org/dspace/content/Collection %org/dspace/sword/DSpaceSWORDException -Tried to run an ingester on wrong target type yN s tBOPCQR sword-server mets-ingester.package-ingesterSTU GVW METS java/lang/StringBuilder Using package manifest format: XYZ ?[N\J]^_ +org/dspace/content/packager/PackageIngester`ab Loaded package ingester: cdef ? -org/dspace/content/packager/PackageParametersgh restore-mode.enableijkh )mets.default.ingest.useCollectionTemplateilmh ?n 0Failed to ingest the package; throwing exception 'org/purl/sword/base/SWORDErrorException &org/dspace/sword/DSpaceSWORDErrorCodes 9http://www.dspace.org/ns/sword/1.3.1/errors/UnpackageFail .METS package ingester failed to unpack package yo org/dspace/content/Item ADSpace Ingester returned wrong object type -- not an Item result. Workflow process started ? ?p ? ? ?Eq zrstu zvJwxyHz{ Ingest successful 'Item created with internal identifier: |}X~ 'Item created with external identifier: ANo external identifier available at this stage (item in workflow) org/dspace/sword/DepositResult??N ? ??N java/lang/RuntimeException w x caught exception: ??? java/lang/Exception y? updated.field FNo configuration, or configuration is invalid for: sword.updated.field ? ??????? *?? org/dspace/content/DCDate java/util/Date y??? java/sql/SQLException Caught exception: AUpdated date added to response from item metadata where available slug.field CNo configuration, or configuration is invalid for: sword.slug.field *Slug value set in response where available 4org/dspace/sword/SWORDMETSIngester$MetadataFieldInfo y??????? java/util/StringTokenizer .? ???The package has been deposited into DSpace. Each file has been unpacked and provided with a unique identifier. The metadata in the manifest has been extracted and attached to the DSpace item, which has been provided with an identifier leading to an HTML splash page. "org/dspace/sword/SWORDMETSIngester?? java/lang/Object org/dspace/sword/SWORDIngester $org/dspace/sword/SWORDMETSIngester$1 org/dspace/sword/SWORDService org/purl/sword/base/Deposit org/dspace/content/DSpaceObject org/dspace/core/Context java/io/File java/lang/String 'org/dspace/handle/service/HandleService 0org/dspace/content/factory/ContentServiceFactory getInstance 4()Lorg/dspace/content/factory/ContentServiceFactory; getItemService *()Lorg/dspace/content/service/ItemService; (Ljava/lang/String;)V getContext ()Lorg/dspace/core/Context; getFile ()Ljava/io/File; $org/dspace/core/ConfigurationManager getProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; equals (Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString message *org/dspace/core/factory/CoreServiceFactory .()Lorg/dspace/core/factory/CoreServiceFactory; getPluginService )()Lorg/dspace/core/service/PluginService; %org/dspace/core/service/PluginService getNamedPlugin 7(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object; getClass ()Ljava/lang/Class; java/lang/Class getName setWorkflowEnabled (Z)V getBooleanProperty ((Ljava/lang/String;Ljava/lang/String;Z)Z setRestoreModeEnabled (Ljava/lang/String;Z)Z setUseCollectionTemplate ?(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Ljava/io/File;Lorg/dspace/content/packager/PackageParameters;Ljava/lang/String;)Lorg/dspace/content/DSpaceObject; '(Ljava/lang/String;Ljava/lang/String;)V getSlug turnOffAuthorisationSystem &org/dspace/content/service/ItemService update =(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)V restoreAuthSystemState .org/dspace/handle/factory/HandleServiceFactory 2()Lorg/dspace/handle/factory/HandleServiceFactory; getHandleService +()Lorg/dspace/handle/service/HandleService; findHandle N(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)Ljava/lang/String; getID ()Ljava/util/UUID; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; setItem (Lorg/dspace/content/Item;)V setHandle setTreatment org/apache/log4j/Logger error *(Ljava/lang/Object;Ljava/lang/Throwable;)V (Ljava/lang/Throwable;)V access$000 J(Lorg/dspace/sword/SWORDMETSIngester$MetadataFieldInfo;)Ljava/lang/String; access$100 access$200 clearMetadata ?(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V (Ljava/util/Date;)V addMetadata ?(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V M(Lorg/dspace/sword/SWORDMETSIngester;Lorg/dspace/sword/SWORDMETSIngester$1;)V access$002 \(Lorg/dspace/sword/SWORDMETSIngester$MetadataFieldInfo;Ljava/lang/String;)Ljava/lang/String; access$102 access$202 nextToken hasMoreTokens ()Z getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! l n o s t u v w x y z { E *? *? ? ? ? | # $ # } ~ ? ? { ?-? ? ? Y? ?-? :*+? *? ? :,? : ? :? ? ? :*? ? Y? ? ? ? ? ? ? ? ? :*? ? Y? ? ? ? ? ? ? : ? Y? : ? !"? #? ? $ %? &? ' ? ( :? *? )? ? *Y,-? .?? /? ? Y0? ?*? 1? ? /:*? 2*,? 3? 4? 5*? ? 6 ? 7? 8? 9: ? : :*? ;? *? ? Y? <? ? =? >? ? ? !*? ? Y? ?? ? ? ? ? *? @? ? AY? B:? C? D*? E? F?:? HI? J?:? HI? J? Y? L? ?? G ?? K | ? ; 3 5 8 ; >