Class ParserStruts2Mojo.Struts2JspFileParser

java.lang.Object
org.nuiton.i18n.plugin.parser.AbstractFileParser
org.nuiton.i18n.plugin.parser.impl.ParserStruts2Mojo.Struts2JspFileParser
All Implemented Interfaces:
FileParser
Enclosing class:
ParserStruts2Mojo

protected static class ParserStruts2Mojo.Struts2JspFileParser extends AbstractFileParser
  • Field Details

    • i18nPattern

      protected final Pattern i18nPattern
      Pattern used to detect i18n keys.
      Since:
      2.5
  • Constructor Details

    • Struts2JspFileParser

      public Struts2JspFileParser(org.apache.maven.plugin.logging.Log log, String encoding, org.nuiton.io.SortedProperties oldParser, Pattern acceptKeyPattern, boolean showTouchedFiles)
  • Method Details

    • getI18nPattern

      public Pattern getI18nPattern()
    • 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 line) throws IOException
      Description copied from interface: FileParser
      Parse une partie du fichier
      Parameters:
      file - le fichier à parser
      line - la ligne à parser
      Throws:
      IOException - if any pb