Edit D:\app\Administrator\product\11.2.0\dbhome_1\j2ee\home\lib\oracle\classloader\query\FindResource.class
?? 1D Q ? P ? ? P ? P ? ? ? P ? ? ? P ? ? P ? ? ? ? ? ? ? ? ? ? 4 ? ? ? ? P ? P ? P ? ? P ? ? P ? ? ? P ? P ? ? ? P ? P ? P ? P ? ? ? ? ? ? ? ) ? ) ? ) ? ? ? ? ? ? ? 0 ? P ? ? ? ? P ? ? 4 ? ? ? ? ? 4 ? ? ? ? ? ? ? ? ? ? ? ? ? B ? ? ? P ? ? ? ? P P ? Match InnerClasses EQUALS_MATCH I ConstantValue STARTS_WITH_MATCH ENDS_WITH_MATCH CONTAINS_MATCH PACKAGE_MATCH PATTERN_MATCH matchPath Ljava/lang/String; matchType target <init> ()V Code LineNumberTable LocalVariableTable this 'Loracle/classloader/query/FindResource; getDescription ()Ljava/lang/String; createQueryReport ([Ljava/lang/String;)V loaders '[Loracle/classloader/PolicyClassLoader; loader &Loracle/classloader/PolicyClassLoader; path i match -Loracle/classloader/query/FindResource$Match; iterator Ljava/util/Iterator; lineNumber args [Ljava/lang/String; sources Ljava/util/List; count Exceptions appendLoaders *([Loracle/classloader/PolicyClassLoader;)V first Z appendLoader )(Loracle/classloader/PolicyClassLoader;)V shouldAppendResource (Z)Z exactMatch appendResourcePath `(Ljava/lang/String;Loracle/classloader/PolicyClassLoader;Loracle/classloader/SharedCodeSource;)V resourcePath source %Loracle/classloader/SharedCodeSource; appendCodeSourcePath N(Loracle/classloader/SharedCodeSource;Loracle/classloader/PolicyClassLoader;)V findMatchingCodeSources $(Ljava/lang/String;)Ljava/util/List; search result &(Ljava/lang/String;IZ)Ljava/util/List; e Ljava/io/IOException; cs listAllMatching codeSources pattern Ljava/util/regex/Pattern; checkCodeSource e(Loracle/classloader/SharedCodeSource;Ljava/lang/String;Ljava/util/regex/Pattern;IZLjava/util/List;)V resource resources listMatches results parseArgs '([Ljava/lang/String;)Ljava/lang/String; arg parsePath (Ljava/lang/String;)V getTargetPath getMatchPath getMatchType ()I convertIfClass &(Ljava/lang/String;)Ljava/lang/String; dot removeLeadingSlash SourceFile FindResource.java f g d U-List the code-sources containing the specified resource. Args: resourcePath | className A leading or trailing '*' can be used for a simple wildcard search, or a leading '~' may be used to indicate that the argument should be treated as a regular expression. Non-regex arguments containing two or more '.' will be treated as class names and converted to resource path form (e.g. 'a.b.Foo' --> 'a/b/Foo.class'). To search for classes with zero or one, '.' in the name, the resource path form must be used explicitly (e.g. 'Bar.class' to find class 'Bar'). ? ? ? ? ? not found. found in: found: g y +oracle/classloader/query/FindResource$Match U ? ? } ? ? ? ? in ? ? . ? ? Loader , ? ? n!" ? ? b c ? ?# .class$%& java/lang/StringBuilder '( n)* /+, java/util/ArrayList-./01 #oracle/classloader/SharedCodeSource ? ? java/io/IOException2& f345 f"678&49):;<=> - "java/lang/IllegalArgumentException Unknown argument: f ? 4Only one resourcePath or className can be specified. #resourcePath or className required. e c ~?@ *A ??B ? ? ? ?)C %oracle/classloader/query/FindResource #oracle/classloader/ClassLoaderQuery java/lang/Exception java/util/List size append (Ljava/lang/Object;)V appendln ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; resourceCount codeSource getSubscribers $()Loracle/classloader/SubscriberSet; oracle/classloader/SubscriberSet )()[Loracle/classloader/PolicyClassLoader; appendLineNumber (I)V (C)V $oracle/classloader/PolicyClassLoader getDisplayName appendDisplayPath ((Loracle/classloader/SharedCodeSource;)V isEmpty java/lang/String endsWith (Ljava/lang/String;)Z -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString indexOf (I)I replace (CC)Ljava/lang/String; getAllCodeSources ()Ljava/util/List; java/util/regex/Pattern compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; containsResource :(Loracle/classloader/SharedCodeSource;Ljava/lang/String;)V add (Ljava/lang/Object;)Z list ()[Ljava/lang/String; startsWith %(Ljava/lang/String;Ljava/util/List;)V (Ljava/lang/String;)I matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; java/util/regex/Matcher matches substring (I)Ljava/lang/String; length (II)Ljava/lang/String; (II)I ! P Q T U V W X U V Y Z U V [ \ U V ] ^ U V _ ` U V a b c d U e c f g h <