Class MuLi.TextFound

  • Enclosing class:
    MuLi

    public static class MuLi.TextFound
    extends java.lang.Object
    A class representing the result of calls to MuLi.get(String...) and sim. All fields should only be read.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int index
      The lowest possible index in the original list of keys(=languages) for which a translation was found, or a "-1" when an arbitrarily chosen language had to be substituted.
      java.lang.String language
      The key(=language) for which the value is returned.
      java.lang.String text
      The value(=translation text) found.
    • Constructor Summary

      Constructors 
      Constructor Description
      TextFound​(int i, java.lang.String l, java.lang.String t)  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • index

        public int index
        The lowest possible index in the original list of keys(=languages) for which a translation was found, or a "-1" when an arbitrarily chosen language had to be substituted.
      • language

        public java.lang.String language
        The key(=language) for which the value is returned.
      • text

        public java.lang.String text
        The value(=translation text) found.
    • Constructor Detail

      • TextFound

        public TextFound​(int i,
                         java.lang.String l,
                         java.lang.String t)