hudson.plugins.pmd.util
Class MavenModuleDetector

java.lang.Object
  extended by hudson.plugins.pmd.util.MavenModuleDetector

public final class MavenModuleDetector
extends java.lang.Object

Detects maven module names by parsing the name of a source file.


Method Summary
static java.lang.String guessModuleName(java.lang.String fileName)
          Guesses a maven module name based on the source folder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

guessModuleName

public static java.lang.String guessModuleName(java.lang.String fileName)
Guesses a maven module name based on the source folder.

Parameters:
fileName - the absolute path of the file (UNIX style) to guess the module for
Returns:
the guessed module name or an empty string


Copyright © 2008. All Rights Reserved.