Class TranslationClassGenerator.TranslationFileFilter

  • All Implemented Interfaces:
    java.io.FilenameFilter
    Enclosing class:
    TranslationClassGenerator

    private class TranslationClassGenerator.TranslationFileFilter
    extends java.lang.Object
    implements java.io.FilenameFilter
    Translation file Filter.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String className  
    • Constructor Summary

      Constructors 
      Constructor Description
      TranslationFileFilter​(java.lang.String className)
      The property file filter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.io.File dir, java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • className

        private final java.lang.String className
    • Constructor Detail

      • TranslationFileFilter

        public TranslationFileFilter​(java.lang.String className)
        The property file filter.
        Parameters:
        className - the class that have i18n property file
    • Method Detail

      • accept

        public boolean accept​(java.io.File dir,
                              java.lang.String name)
        Specified by:
        accept in interface java.io.FilenameFilter