Interface HTLangPatternProvider

  • All Implemented Interfaces:

    
    public interface HTLangPatternProvider
    
                        

    受け取った文字列で%sを置換した文字列を返す処理を表すインターフェースです。

    Since:

    0.1.0

    Author:

    Hiiragi Tsubasa

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • translate

         abstract String translate(HTLangType type, String value)
        Parameters:
        type - 言語の種類
        value - %sを置換する文字列
        Returns:

        '%s'が置換された翻訳名

      • translate

         String translate(HTLangType type, HTLangName provider)
        Parameters:
        type - 言語の種類
        provider - %sを置換する翻訳
        Returns:

        '%s'が置換された翻訳名