Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.importer
Class LibraryImporter

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

public class LibraryImporter
extends Object

A helper class for the importing of a Library instance based on a java.io.File.


Constructor Summary
LibraryImporter()
          Construct a new library importer.
 
Method Summary
 ILibrary createLibraryFor(File libraryFile)
          Construct and return a new Library instance for the specified library file.
 ILibrary createLibraryFor(File libraryFile, IAccessRule[] accessRules)
          Construct and return a new Library instance for the specified library file with the provided access rules.
 void setJavadocDetector(JavadocDetector javadocDetector)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryImporter

public LibraryImporter()
Construct a new library importer.

Method Detail

createLibraryFor

public ILibrary createLibraryFor(File libraryFile)
Construct and return a new Library instance for the specified library file.

Parameters:
libraryFile - the file to be wrapped up as a library.
Returns:
the newly created library wrapper

createLibraryFor

public ILibrary createLibraryFor(File libraryFile,
                                 IAccessRule[] accessRules)
Construct and return a new Library instance for the specified library file with the provided access rules.

Parameters:
libraryFile -
accessRules -
Returns:

setJavadocDetector

public void setJavadocDetector(JavadocDetector javadocDetector)

Mobile Tools for Java
Release 1.0