1. Get source file by fully qualified name of a class (or interface)
URL format:
http://grepcode.com/type/[repository_path]/[group]/[project]/[version]/[full_class_name]?rel=file&v=source
Example:
2. Get source file by fully qualified name of a class (or interface) and MD5 signature of its project's jar file
URL format:
http://grepcode.com/type/[md5]/[full_class_name]?rel=file&v=source
Example:
3. Get source file by its path
URL format:
http://grepcode.com/file/[repository_path]/[group]/[project]/[version]/[file_path]?v=source
Example:
4. Get source file by its path and MD5 signature of its project's jar file
URL format:
http://grepcode.com/file/[md5]/[file_path]?v=source
Example:
5. Get project jar file (source/binary/javadoc) by project identifier
URL format:
http://grepcode.com/snapshot/[repository_path]/[group]/[project]?rel=file&kind=[source|binary|javadoc]&n=[idx]
Example:
6. Get project jar file (source/binary/javadoc/pom) by MD5 signature of any other jar file in this project
URL format:
http://grepcode.com/snapshot/[md5]?rel=file&kind=[source|binary|javadoc|metadata]&n=[idx]
Example:
New to GrepCode? Check out our FAQ X