|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.nuiton.plugin.AbstractPlugin
org.nuiton.i18n.plugin.AbstractI18nMojo
org.nuiton.i18n.plugin.parser.AbstractI18nParserMojo
org.nuiton.i18n.plugin.parser.impl.ParserJavaMojo
public class ParserJavaMojo
Récupération des chaine a traduire depuis les fichiers java.
| Nested Class Summary | |
|---|---|
protected static class |
ParserJavaMojo.JavaFileParser
|
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
|---|
org.nuiton.plugin.Plugin.InitState, org.nuiton.plugin.Plugin.Packaging |
| Field Summary | |
|---|---|
protected File |
cp
Repertoire sources des fichiers i18n. |
protected File |
defaultBasedir
default src for an entry. |
protected String |
defaultIncludes
Source entries (src+includes+excludes) . |
| Fields inherited from class org.nuiton.i18n.plugin.parser.AbstractI18nParserMojo |
|---|
backupGetter, entries, force, keysModifier, oldLanguage, oldParser, safeMode, showTouchedFiles, t0, treateDefaultEntry |
| Fields inherited from class org.nuiton.i18n.plugin.AbstractI18nMojo |
|---|
artifactId, bundles, encoding, genSrc, locales, out, project, silent, src, strictMode, verbose |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
ParserJavaMojo()
|
|
| Method Summary | |
|---|---|
File |
getDefaultBasedir()
|
String[] |
getDefaultExcludes()
|
String[] |
getDefaultIncludes()
|
protected String |
getKeyModifierEnd()
Deprecated. |
protected String |
getKeyModifierStart()
Deprecated. |
protected String |
getOutGetter()
|
FileParser |
newFileParser()
|
org.nuiton.io.FileUpdater |
newFileUpdater(SourceEntry entry)
|
| Methods inherited from class org.nuiton.i18n.plugin.parser.AbstractI18nParserMojo |
|---|
addDefaultEntry, doAction, getLogEntry, getResult, init, isForce, isShowTouchedFiles, isStrictMode, saveGetterFile |
| Methods inherited from class org.nuiton.i18n.plugin.AbstractI18nMojo |
|---|
addGetter, backupFile, checkBundle, checkPackaging, getArtifactId, getBackupFile, getEncoding, getGetterFile, getI18nFile, getProject, isSilent, isVerbose, needGeneration, setEncoding, setProject, setVerbose |
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addTestResourceDir, addUrlToUrlsList, afterExecute, checkResource, checkRunOnceDone, checkSkip, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getTemplate, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFile |
| 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 |
| Methods inherited from interface org.nuiton.i18n.plugin.parser.I18nParserConfiguration |
|---|
getLog, isSilent, isVerbose |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
getLog, setLog |
| Field Detail |
|---|
protected String defaultIncludes
protected File defaultBasedir
protected File cp
| Constructor Detail |
|---|
public ParserJavaMojo()
| Method Detail |
|---|
public String[] getDefaultIncludes()
getDefaultIncludes in class AbstractI18nParserMojopublic String[] getDefaultExcludes()
getDefaultExcludes in class AbstractI18nParserMojopublic File getDefaultBasedir()
getDefaultBasedir in class AbstractI18nParserMojopublic org.nuiton.io.FileUpdater newFileUpdater(SourceEntry entry)
newFileUpdater in class AbstractI18nParserMojoentry - the incoming source entry to attach to the file updater
@Deprecated protected String getKeyModifierStart()
getKeyModifierStart in class AbstractI18nParserMojo@Deprecated protected String getKeyModifierEnd()
getKeyModifierEnd in class AbstractI18nParserMojoprotected String getOutGetter()
getOutGetter in class AbstractI18nParserMojopublic FileParser newFileParser()
newFileParser in class AbstractI18nParserMojo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||