org.apache.maven.project.path
Class DefaultPathTranslator

java.lang.Object
  extended by org.apache.maven.project.path.DefaultPathTranslator
All Implemented Interfaces:
PathTranslator

public class DefaultPathTranslator
extends Object
implements PathTranslator

Default implementation of PathTranslator.


Field Summary
 
Fields inherited from interface org.apache.maven.project.path.PathTranslator
ROLE
 
Constructor Summary
DefaultPathTranslator()
           
 
Method Summary
 void alignToBaseDirectory(Model model, File basedir)
           
 String alignToBaseDirectory(String path, File basedir)
          
 void unalignFromBaseDirectory(Model model, File basedir)
          
 String unalignFromBaseDirectory(String path, File basedir)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPathTranslator

public DefaultPathTranslator()
Method Detail

alignToBaseDirectory

public void alignToBaseDirectory(Model model,
                                 File basedir)
Specified by:
alignToBaseDirectory in interface PathTranslator

alignToBaseDirectory

public String alignToBaseDirectory(String path,
                                   File basedir)

Specified by:
alignToBaseDirectory in interface PathTranslator

unalignFromBaseDirectory

public void unalignFromBaseDirectory(Model model,
                                     File basedir)

Specified by:
unalignFromBaseDirectory in interface PathTranslator

unalignFromBaseDirectory

public String unalignFromBaseDirectory(String path,
                                       File basedir)

Specified by:
unalignFromBaseDirectory in interface PathTranslator


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.