org.apache.maven.author.resolver
Class JavadocAuthorResolver

java.lang.Object
  |
  +--org.apache.maven.author.resolver.JavadocAuthorResolver
All Implemented Interfaces:
AuthorResolver

public class JavadocAuthorResolver
extends java.lang.Object
implements AuthorResolver

AuthorResolver based on javadoc. This resolver uses author's javadoc tags to resolve the author(s).

Author:
Eric Ballet Baz

Constructor Summary
JavadocAuthorResolver()
           
 
Method Summary
 java.lang.String[] resolveAuthors(java.io.File file)
          Resolve the author(s) of the specified file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavadocAuthorResolver

public JavadocAuthorResolver()
Method Detail

resolveAuthors

public final java.lang.String[] resolveAuthors(java.io.File file)
Description copied from interface: AuthorResolver
Resolve the author(s) of the specified file.

Specified by:
resolveAuthors in interface AuthorResolver
Parameters:
file - File for wich we should resolve author(s) for.
Returns:
Array of authors. If no author is found an empty array (not null) should be returned.
See Also:
AuthorResolver.resolveAuthors(java.io.File)


Copyright © 2006 Maven Author Plugin. All Rights Reserved.