Class MuLi.TextFound

java.lang.Object
eu.bandm.tools.muli.MuLi.TextFound
Enclosing class:
MuLi

public static class MuLi.TextFound extends 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
    final int
    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.
    final String
    The key(=language) for which the value is returned.
    final String
    The value(=translation text) found.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TextFound(int i, String l, String t)
    Only constructor.
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • index

      public final 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 final String language
      The key(=language) for which the value is returned.
    • text

      public final String text
      The value(=translation text) found.
  • Constructor Details

    • TextFound

      public TextFound(int i, String l, String t)
      Only constructor.
      Parameters:
      i - the position in the prefeence list, or "-1" if not from this list.
      l - the found language.
      t - the found value.