Overview\r
\r
This library searches location of classes from classpath, file\r
-system, jar files, zip files, and war files.\r
+system, jar files, zip files, and war files. <Digger> can be used for\r
+the application which engineer class files.\r
\r
+How to Use\r
+\r
+----\r
+ ClasspathContext context = new ClasspathContext();\r
+ context.addClasspath(<url of class path>);\r
+ :\r
+\r
+ if(context.hasEntry("fully.class.name")){\r
+ ClassFileEntry entry = context.findEntry("fully.class.name");\r
+ if(entry != null){\r
+ try{\r
+ InputStream in = entry.openStream();\r
+\r
+ // some operation...\r
+ } catch(IOException exception){\r
+ // handle exception...\r
+ }\r
+ }\r
+ else{\r
+ throw new InternalError("never thrown, because hasEntry method returns true.");\r
+ }\r
+ }\r
+----\r
+\r
+
\ No newline at end of file