org.codehaus.mojo.native2ascii
Class Native2AsciiMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.native2ascii.Native2AsciiMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class Native2AsciiMojo
extends org.apache.maven.plugin.AbstractMojo

Converts files with characters in any supported character encoding to one with ASCII and/or Unicode escapes.


Field Summary
protected  String encoding
          The native encoding the files are in.
protected  String[] excludes
          Patterns of files that must be excluded.
protected  String[] includes
          Patterns of files that must be included.
protected  File tempDir
          Directory for temporary files.
protected  File workDir
          The directory to find files in.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Native2AsciiMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workDir

protected File workDir
The directory to find files in.

Since:
1.0-alpha-2

tempDir

protected File tempDir
Directory for temporary files.

Since:
1.0-alpha-2

encoding

protected String encoding
The native encoding the files are in.

Since:
1.0-alpha-1

includes

protected String[] includes
Patterns of files that must be included. Default is "**\/*.properties".

Since:
1.0-alpha-2

excludes

protected String[] excludes
Patterns of files that must be excluded.

Since:
1.0-alpha-2
Constructor Detail

Native2AsciiMojo

public Native2AsciiMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2007-2012 Codehaus. All Rights Reserved.