diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-11-02 17:15:01 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-11-02 17:15:01 +0000 |
commit | a9d3c7bd1da63565c9fd2937a9121bbe6a02c4bc (patch) | |
tree | 0c30b2309b1dad0a5145ab30fa2a09d86b281e41 /src/main/javassist/ClassPool.java | |
parent | 04bb09167da844dc49516342063a3e642afab7ab (diff) | |
download | javassist-a9d3c7bd1da63565c9fd2937a9121bbe6a02c4bc.tar.gz javassist-a9d3c7bd1da63565c9fd2937a9121bbe6a02c4bc.zip |
supported the class path wildcards.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@413 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/ClassPool.java')
-rw-r--r-- | src/main/javassist/ClassPool.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/javassist/ClassPool.java b/src/main/javassist/ClassPool.java index e7e209a9..3bab74ae 100644 --- a/src/main/javassist/ClassPool.java +++ b/src/main/javassist/ClassPool.java @@ -757,6 +757,9 @@ public class ClassPool { * * @param pathname the path name of the directory or jar file. * It must not end with a path separator ("/"). + * If the path name ends with "/*", then all the + * jar files matching the path name are inserted. + * * @return the inserted class path. * @throws NotFoundException if the jar file is not found. */ @@ -772,6 +775,9 @@ public class ClassPool { * * @param pathname the path name of the directory or jar file. * It must not end with a path separator ("/"). + * If the path name ends with "/*", then all the + * jar files matching the path name are appended. + * * @return the appended class path. * @throws NotFoundException if the jar file is not found. */ |