Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.importer
Class JavadocDetector

java.lang.Object
  extended by org.eclipse.mtj.core.importer.JavadocDetector

public class JavadocDetector
extends Object

helper class to detect the javadoc location


Nested Class Summary
static class JavadocDetector.GenericLocalFSSearch
          a generic javadoc search strategy, it search the library's javadoc on the local file system,
static interface JavadocDetector.IJavadocSearchStrategy
          a javadoc search strategy interface, user can implement this interface to provide different javadoc search strategy such as search the library's javadoc on local file system or search the javadoc on the website.
 
Constructor Summary
JavadocDetector()
           
 
Method Summary
 JavadocDetector addJavadocSearchStrategy(JavadocDetector.IJavadocSearchStrategy searchStrategy)
          add the javadoc searchStrategy to the detector
 URL detectJavadoc(ILibrary library)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavadocDetector

public JavadocDetector()
Method Detail

addJavadocSearchStrategy

public JavadocDetector addJavadocSearchStrategy(JavadocDetector.IJavadocSearchStrategy searchStrategy)
add the javadoc searchStrategy to the detector

Parameters:
searchStrategy -
Returns:

detectJavadoc

public URL detectJavadoc(ILibrary library)

Mobile Tools for Java
Release 1.0