Edit C:\Users\Admin\.m2\repository\org\dspace\dspace-api\6.2\org\dspace\submit\lookup\CiNiiService.class
???? 3= I ? F ? F ? ? ? F ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? A ? ? ? ? ? ? F ? ? log Lorg/apache/log4j/Logger; timeout I <init> ()V Code LineNumberTable LocalVariableTable this 'Lorg/dspace/submit/lookup/CiNiiService; setTimeout (I)V getByCiNiiID >(Ljava/lang/String;Ljava/lang/String;)Lgr/ekt/bte/core/Record; id Ljava/lang/String; appId Exceptions ? ? searchByTerm J(Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;)Ljava/util/List; record Lgr/ekt/bte/core/Record; title author year maxResults records Ljava/util/List; ids LocalVariableTypeTable *Ljava/util/List<Lgr/ekt/bte/core/Record;>; $Ljava/util/List<Ljava/lang/String;>; StackMapTable ? ? Signature d(Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;)Ljava/util/List<Lgr/ekt/bte/core/Record;>; search factory *Ljavax/xml/parsers/DocumentBuilderFactory; db #Ljavax/xml/parsers/DocumentBuilder; inDoc Lorg/w3c/dom/Document; xmlRoot Lorg/w3c/dom/Element; e Ljava/lang/Exception; client #Lorg/apache/http/client/HttpClient; response Lorg/apache/http/HttpResponse; statusLine Lorg/apache/http/StatusLine; statusCode method (Lorg/apache/http/client/methods/HttpGet; ? ? ? ? ? ? ? ? ? ? ? ? ? getCiNiiIDs about item items url_len query Ljava/lang/StringBuilder; 'Ljava/util/List<Lorg/w3c/dom/Element;>; ? ^(Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;)Ljava/util/List<Ljava/lang/String;>; <clinit> SourceFile CiNiiService.java N O L M r X java/util/ArrayList ? ` ? ? ? ? java/lang/String -org/apache/http/impl/client/DefaultHttpClient ? +org/apache/http/params/CoreConnectionPNames http.connection.timeout &org/apache/http/client/methods/HttpGet java/lang/StringBuilder http://ci.nii.ac.jp/naid/ .rdf?appid= N ? ? ? org/apache/http/HttpStatus java/lang/RuntimeException CiNii RDF is not valid CiNii RDF Http call failed: ? !"#$ ?%& ?'()*+, O java/lang/Exception .CiNii RDF identifier is not valid or not exist format=rss&appid= &count= - &title= UTF-8./0 &author= &year_from=12 &year_to= &http://ci.nii.ac.jp/opensearch/search? #CiNii OpenSearch query is not valid CiNii OpenSearch call failed: 3456 ? org/w3c/dom/Element rdf:about7892 2CiNii OpenSearch results is not valid or not exist %org/dspace/submit/lookup/CiNiiService:;< J K java/lang/Object org/apache/http/HttpException java/io/IOException java/util/List java/util/Iterator !org/apache/http/client/HttpClient org/apache/http/HttpResponse org/apache/http/StatusLine (javax/xml/parsers/DocumentBuilderFactory !javax/xml/parsers/DocumentBuilder org/w3c/dom/Document gr/ekt/bte/core/Record java/lang/Throwable size ()I iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; add (Ljava/lang/Object;)Z getParams %()Lorg/apache/http/params/HttpParams; !org/apache/http/params/HttpParams setIntParameter 8(Ljava/lang/String;I)Lorg/apache/http/params/HttpParams; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V execute O(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse; getStatusLine ()Lorg/apache/http/StatusLine; getStatusCode -(Ljava/lang/Object;)Ljava/lang/StringBuilder; newInstance ,()Ljavax/xml/parsers/DocumentBuilderFactory; setValidating (Z)V setIgnoringComments #setIgnoringElementContentWhitespace newDocumentBuilder %()Ljavax/xml/parsers/DocumentBuilder; getEntity ()Lorg/apache/http/HttpEntity; org/apache/http/HttpEntity getContent ()Ljava/io/InputStream; parse -(Ljava/io/InputStream;)Lorg/w3c/dom/Document; getDocumentElement ()Lorg/w3c/dom/Element; #org/dspace/submit/lookup/CiNiiUtils convertCiNiiDomToRecord /(Lorg/w3c/dom/Element;)Lgr/ekt/bte/core/Record; releaseConnection (I)Ljava/lang/StringBuilder; java/net/URLEncoder encode 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; valueOf (I)Ljava/lang/String; org/dspace/app/util/XMLUtils getElementList 9(Lorg/w3c/dom/Element;Ljava/lang/String;)Ljava/util/List; length getAttribute &(Ljava/lang/String;)Ljava/lang/String; substring org/apache/log4j/Logger getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! F I J K L M N O P : *? *? ? Q $ ) R S T U V P >