Edit C:\Users\Admin\.m2\repository\org\dspace\dspace-api\6.2\org\dspace\rdf\RDFizer.class
???? 3? ?h ?i ?j ?k ?lm ?no i ?pq rs t ?u vw vx ?y z{ ?| z} ?~ z ?? ?? ?? ?? ?? ?? ??? ????? ????? %i z??? %?? %? $? ??? .? ??? z??? ???? 6??? ???? ?? %?? ??? ?? ?? ????? D? F???? K??? N???? Q??????????? Y? Y???? ???? ????? ?? ?? ??? gi??? ?? ?? j? ?? ?? ?? %? %?? ??? ????? ? ?? ??? ?? ? ?? ?????<?? ?? ??? ????? ?? ? ? ? ?? ? ? ?i ? !" !#: !$ !%& !' !( ?)*+ !,-./01 ?23 ?i ?4 ?56 ?i ?7 ?8 9 ?:;< Callback InnerClasses log Lorg/apache/log4j/Logger; stdout Z verbose dryrun lang Ljava/lang/String; context Lorg/dspace/core/Context; configurationService *Lorg/dspace/services/ConfigurationService; contentServiceFactory 2Lorg/dspace/content/factory/ContentServiceFactory; communityService -Lorg/dspace/content/service/CommunityService; itemService (Lorg/dspace/content/service/ItemService; handleService )Lorg/dspace/handle/service/HandleService; storage #Lorg/dspace/rdf/storage/RDFStorage; processed Ljava/util/Set; Signature !Ljava/util/Set<Ljava/util/UUID;>; <init> ()V Code LineNumberTable LocalVariableTable this Lorg/dspace/rdf/RDFizer; overrideContext (Lorg/dspace/core/Context;)V isStdout ()Z setStdout (Z)V isVerbose setVerbose isDryrun setDryrun deleteAll StackMapTable delete %(Lorg/dspace/content/DSpaceObject;Z)V dso !Lorg/dspace/content/DSpaceObject; reset callback !Lorg/dspace/rdf/RDFizer$Callback; Exceptions convertAll convert dspaceDFS G(Lorg/dspace/content/DSpaceObject;Lorg/dspace/rdf/RDFizer$Callback;ZZ)V ex )Lorg/dspace/rdf/ItemNotArchivedException; 'Lorg/dspace/rdf/ItemWithdrawnException; -Lorg/dspace/rdf/ItemNotDiscoverableException; )Lorg/dspace/authorize/AuthorizeException; community Lorg/dspace/content/Community; communities Ljava/util/List; sub collection Lorg/dspace/content/Collection; subcommunities collections item Lorg/dspace/content/Item; items Ljava/util/Iterator; check LocalVariableTypeTable 0Ljava/util/List<Lorg/dspace/content/Community;>; 1Ljava/util/List<Lorg/dspace/content/Collection;>; /Ljava/util/Iterator<Lorg/dspace/content/Item;>;?6=<???>? isProcessed $(Lorg/dspace/content/DSpaceObject;)Z markProcessed $(Lorg/dspace/content/DSpaceObject;)V report (Ljava/lang/String;)V message runCLI ([Ljava/lang/String;)V 'Lorg/apache/commons/cli/ParseException; argument builder Ljava/lang/StringBuilder; argumentsLine Ljava/sql/SQLException; handle identifier identifiers [Ljava/lang/String; args options Lorg/apache/commons/cli/Options; parser *Lorg/apache/commons/cli/CommandLineParser; line $Lorg/apache/commons/cli/CommandLine; remainingArgs=@A??B resolveHandle 5(Ljava/lang/String;)Lorg/dspace/content/DSpaceObject; !Ljava/lang/IllegalStateException;? createOptions "()Lorg/apache/commons/cli/Options; optIdentifiers Lorg/apache/commons/cli/Option; optDelete optDeleteAll usage #(Lorg/apache/commons/cli/Options;)V cliSyntax header footer err Ljava/io/PrintWriter; helpformater &Lorg/apache/commons/cli/HelpFormatter; main myself access$000 ()Lorg/apache/log4j/Logger; <clinit> SourceFile RDFizer.java ? ? ? ? ? ? ? ? ? ? TURTLE ? ? (java/util/concurrent/CopyOnWriteArraySet ? ? org/dspace/core/ContextCEF ?G ? ?HIJKL ? ?MIN ? ?OP ? ?QR ? ?SITUV ? ?WIXYZ ? ? +Sending delete command to the triple store./0[ ? ? &Deleted all data from the triplestore.=\] org/dspace/core/Constants "java/lang/IllegalArgumentException java/lang/StringBuilder^_`abcd 2 is currently not supported as independent entity.ef ?0 org/dspace/rdf/RDFizer$1 ?g @Starting conversion of all DSpaceItems, this may take a while...hijkl Conversion ended. org/dspace/rdf/RDFizer$2mn ?+, Skipping processing of opcq (handle rf ), already processed.stu-.vwx 'org/dspace/rdf/ItemNotArchivedException org/dspace/content/Item java/lang/IllegalStateExceptionyf ?z Skipping processing of Item ): Item is not archived. %org/dspace/rdf/ItemWithdrawnException ): Item is withdrawn. +org/dspace/rdf/ItemNotDiscoverableException ): Item is not discoverable. 'org/dspace/authorize/AuthorizeException ), not authorized: org/dspace/content/Site{|}>~?? ??? org/dspace/content/Community???? org/dspace/content/Collection???. Processed ).???????]???0RS "org/apache/commons/cli/PosixParser@?? %org/apache/commons/cli/ParseExceptionXY? ??u??A?? ???] , B?f 'Cannot recognize the following argument?0 s : .?? ? ? dry-run ? ? ? ? delete-all I You cannot use the options --delete <handle> and --delete-all together. convert-all Q You cannot use the option --convert-all together with --delete or --delete-all. Z You cannot use the option --identifiers <handle> together with --delete or --delete-all. L You cannot use the option --stdout together with --delete or --deleta-all.???? hdl:??? ?0 Deleted ?? Trying to resolve identifier NO Resolved identifier as ? java/sql/SQLException?u JA problem with the database connection occurred. Canceled pending actions.?? 1Starting conversion of specified DSpaceObjects... ???? Cannot recognize identifier ' ', skipping. Cannot resolve identifier ' Couldn't resolve identifier ' ', dso was null. w are currently not supported as independent entities. Bundles and Bitstreams should be processed as part of their item. org/apache/commons/cli/Options h help !Print usage information and exit.?? v :Print verbose information to stderr while converting data. n ?Don't store the converted data in the triple store, don't delete data from the triplestore. Make a dry run, simulation what would happen. o APrint all converted data to stdout using turtle as serialization. jDon't send any data or commands to the triplestore. Usefull for debugging or in conjunction with --stdout. c ?Convert all DSpace Objects that are readable for an anonymous user. This may take a long timedepending on the number of stored communties, collections and items. Existing information in the triple store will be updated.????????? ?Only convert these DSpace Objects. If you specify a Community or Collection all of their Items will be converted as well. Separate multiple identifiers with a space.?????? hdl:handle | URI?Delete previously converted data. Specify either the handle of a DSpaceObject in the format 'hdl:<handle>' or the URI used to identify the rdf data in the triplestore. If you specify a Community, Collection or Item by its handle all converted information about attached Subcommunities, Collections, Items, Bundles and Bitstreams will be deleted as well. Separate multiple identifiers with a space.?? /Delete all converted data from the triplestore. ,[dspace-bin]/bin/dspace rdfizer [OPTIONS...] ? You cannot use the options --convert-all, --identifiers or --stdout together with --delete or --delete-all. Please use at least one option out of --convert-all, --delete, --delete-all or --identifiers. java/io/PrintWriter ?? $org/apache/commons/cli/HelpFormatter??? ? org/dspace/rdf/RDFizer ? ?23? ??? java/lang/Object org/dspace/rdf/RDFizer$Callback org/dspace/content/DSpaceObject java/util/List java/util/Iterator (org/apache/commons/cli/CommandLineParser "org/apache/commons/cli/CommandLine java/lang/String org/dspace/core/Context$Mode Mode READ_ONLY Lorg/dspace/core/Context$Mode; !(Lorg/dspace/core/Context$Mode;)V 1org/dspace/services/factory/DSpaceServicesFactory getInstance 5()Lorg/dspace/services/factory/DSpaceServicesFactory; getConfigurationService ,()Lorg/dspace/services/ConfigurationService; 0org/dspace/content/factory/ContentServiceFactory 4()Lorg/dspace/content/factory/ContentServiceFactory; getCommunityService /()Lorg/dspace/content/service/CommunityService; getItemService *()Lorg/dspace/content/service/ItemService; .org/dspace/handle/factory/HandleServiceFactory 2()Lorg/dspace/handle/factory/HandleServiceFactory; getHandleService +()Lorg/dspace/handle/service/HandleService; !org/dspace/rdf/factory/RDFFactory %()Lorg/dspace/rdf/factory/RDFFactory; getRDFStorage %()Lorg/dspace/rdf/storage/RDFStorage; !org/dspace/rdf/storage/RDFStorage getType ()I getDSpaceObjectService S(Lorg/dspace/content/DSpaceObject;)Lorg/dspace/content/service/DSpaceObjectService; .org/dspace/content/service/DSpaceObjectService getTypeText 5(Lorg/dspace/content/DSpaceObject;)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Lorg/dspace/rdf/RDFizer;)V getSiteService *()Lorg/dspace/content/service/SiteService; &org/dspace/content/service/SiteService findSite 4(Lorg/dspace/core/Context;)Lorg/dspace/content/Site; java/util/Set clear getID ()Ljava/util/UUID; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; getHandle org/apache/log4j/Logger debug (Ljava/lang/Object;)V org/dspace/rdf/RDFUtil isPublic =(Lorg/dspace/core/Context;Lorg/dspace/content/DSpaceObject;)V getMessage *(Ljava/lang/String;Ljava/lang/Throwable;)V +org/dspace/content/service/CommunityService findAllTop +(Lorg/dspace/core/Context;)Ljava/util/List; iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; getSubcommunities ()Ljava/util/List; getCollections &org/dspace/content/service/ItemService findAllByCollection N(Lorg/dspace/core/Context;Lorg/dspace/content/Collection;)Ljava/util/Iterator; uncacheEntity %(Lorg/dspace/core/ReloadableEntity;)V contains (Ljava/lang/Object;)Z add java/lang/System Ljava/io/PrintStream; java/io/PrintStream println parse Y(Lorg/apache/commons/cli/Options;[Ljava/lang/String;)Lorg/apache/commons/cli/CommandLine; fatal exit (I)V getArgs ()[Ljava/lang/String; length trim print hasOption (Ljava/lang/String;)Z (C)Z getOptionValues '(Ljava/lang/String;)[Ljava/lang/String; $org/apache/commons/lang3/StringUtils startsWithIgnoreCase 3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z substring (I)Ljava/lang/String; error printStackTrace (Ljava/io/PrintStream;)V 'org/dspace/handle/service/HandleService resolveToObject N(Lorg/dspace/core/Context;Ljava/lang/String;)Lorg/dspace/content/DSpaceObject; addOption Y(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Lorg/apache/commons/cli/Options; $org/apache/commons/cli/OptionBuilder withLongOpt :(Ljava/lang/String;)Lorg/apache/commons/cli/OptionBuilder; hasArgs (()Lorg/apache/commons/cli/OptionBuilder; withArgName withValueSeparator )(C)Lorg/apache/commons/cli/OptionBuilder; withDescription create "(C)Lorg/apache/commons/cli/Option; A(Lorg/apache/commons/cli/Option;)Lorg/apache/commons/cli/Options; !()Lorg/apache/commons/cli/Option; (Ljava/io/OutputStream;)V printHelp q(Ljava/io/PrintWriter;ILjava/lang/String;Ljava/lang/String;Lorg/apache/commons/cli/Options;IILjava/lang/String;)V flush abort getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? n*? *? *? *? *? *? Y? ? *? Y? ? ? *? ? ? *? ? **? ? ? **? ? ? *? ? ? *? ? ? ? ? : G H I J K L $ M 2 O <