org.apache.maven.shared.model.fileset
Class Mapper

java.lang.Object
  extended by org.apache.maven.shared.model.fileset.Mapper
All Implemented Interfaces:
java.io.Serializable

public class Mapper
extends java.lang.Object
implements java.io.Serializable

Class Mapper.

Version:
$Revision: 886882 $ $Date: 2013-11-16 21:55:43 +0000 (Sat, 16 Nov 2013) $
See Also:
Serialized Form

Constructor Summary
Mapper()
           
 
Method Summary
 java.lang.String getClassname()
          Get Allows specification of a custom mapper implementation.
 java.lang.String getFrom()
          Get Specifies a type-specific pattern for matching source paths which should be mapped.
 java.lang.String getModelEncoding()
           
 java.lang.String getTo()
          Get Specifies a type-specific pattern for producing paths based on source paths.
 java.lang.String getType()
          Get Specifies a built-in mapper implementation.
 void setClassname(java.lang.String classname)
          Set Allows specification of a custom mapper implementation.
 void setFrom(java.lang.String from)
          Set Specifies a type-specific pattern for matching source paths which should be mapped.
 void setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setTo(java.lang.String to)
          Set Specifies a type-specific pattern for producing paths based on source paths.
 void setType(java.lang.String type)
          Set Specifies a built-in mapper implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mapper

public Mapper()
Method Detail

getClassname

public java.lang.String getClassname()
Get Allows specification of a custom mapper implementation. The class must be of type org.apache.maven.shared.model.fileset.mappers.FileNameMapper, from the artifact org.apache.maven.shared:file-management.

Returns:
String

getFrom

public java.lang.String getFrom()
Get Specifies a type-specific pattern for matching source paths which should be mapped.

Returns:
String

getTo

public java.lang.String getTo()
Get Specifies a type-specific pattern for producing paths based on source paths.

Returns:
String

getType

public java.lang.String getType()
Get Specifies a built-in mapper implementation.
Valid values:

Returns:
String

setClassname

public void setClassname(java.lang.String classname)
Set Allows specification of a custom mapper implementation. The class must be of type org.apache.maven.shared.model.fileset.mappers.FileNameMapper, from the artifact org.apache.maven.shared:file-management.

Parameters:
classname -

setFrom

public void setFrom(java.lang.String from)
Set Specifies a type-specific pattern for matching source paths which should be mapped.

Parameters:
from -

setTo

public void setTo(java.lang.String to)
Set Specifies a type-specific pattern for producing paths based on source paths.

Parameters:
to -

setType

public void setType(java.lang.String type)
Set Specifies a built-in mapper implementation.
Valid values:

Parameters:
type -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public java.lang.String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


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