org.nuiton.i18n.plugin.parser.impl
Class ParserXmlMojo.XmlFileParser

java.lang.Object
  extended by org.nuiton.i18n.plugin.parser.AbstractFileParser
      extended by org.nuiton.i18n.plugin.parser.impl.ParserXmlMojo.XmlFileParser
All Implemented Interfaces:
FileParser
Enclosing class:
ParserXmlMojo

public abstract static class ParserXmlMojo.XmlFileParser
extends AbstractFileParser


Constructor Summary
ParserXmlMojo.XmlFileParser(org.apache.maven.plugin.logging.Log log, String encoding, org.nuiton.io.SortedProperties oldParser, boolean showTouchedFiles, String rules, XPath xpath, DocumentBuilder builder)
           
 
Method Summary
abstract  String extract(String i18nString)
          Fonction d'extraction de la chaine
 void parseFile(File file)
          Parse sur un fichier
 void parseLine(File file, String key)
          Parse une partie du fichier
 
Methods inherited from class org.nuiton.i18n.plugin.parser.AbstractFileParser
destroy, finalize, getEncoding, getLog, getResult, isShowTouchedFiles, isTouched, registerKey, setTouched
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserXmlMojo.XmlFileParser

public ParserXmlMojo.XmlFileParser(org.apache.maven.plugin.logging.Log log,
                                   String encoding,
                                   org.nuiton.io.SortedProperties oldParser,
                                   boolean showTouchedFiles,
                                   String rules,
                                   XPath xpath,
                                   DocumentBuilder builder)
Method Detail

extract

public abstract String extract(String i18nString)
Fonction d'extraction de la chaine

Parameters:
i18nString - le clef i18n
Returns:
la chaine

parseFile

public void parseFile(File file)
               throws IOException
Description copied from interface: FileParser
Parse sur un fichier

Parameters:
file - le fichier à parser
Throws:
IOException - if any pb

parseLine

public void parseLine(File file,
                      String key)
               throws IOException
Description copied from interface: FileParser
Parse une partie du fichier

Parameters:
file - le fichier à parser
key - la ligne à parser
Throws:
IOException - if any pb


Copyright © 2007-2010 CodeLutin. All Rights Reserved.