Class NearString


  • public class NearString
    extends java.lang.Object
    Class to hold a single fuzzy match.
    • Field Detail

      • source

        public java.lang.String source
      • translation

        public java.lang.String translation
      • fuzzyMark

        public boolean fuzzyMark
      • attr

        public byte[] attr
        matching attributes of near strEntry
      • projs

        public java.lang.String[] projs
      • props

        public java.util.List<TMXProp> props
      • creator

        public java.lang.String creator
      • creationDate

        public long creationDate
      • changer

        public java.lang.String changer
      • changedDate

        public long changedDate
    • Constructor Detail

      • NearString

        public NearString​(EntryKey key,
                          java.lang.String source,
                          java.lang.String translation,
                          NearString.MATCH_SOURCE comesFrom,
                          boolean fuzzyMark,
                          int nearScore,
                          int nearScoreNoStem,
                          int adjustedScore,
                          byte[] nearData,
                          java.lang.String projName,
                          java.lang.String creator,
                          long creationDate,
                          java.lang.String changer,
                          long changedDate,
                          java.util.List<TMXProp> props)
    • Method Detail

      • merge

        public static NearString merge​(NearString ns,
                                       EntryKey key,
                                       java.lang.String source,
                                       java.lang.String translation,
                                       NearString.MATCH_SOURCE comesFrom,
                                       boolean fuzzyMark,
                                       int nearScore,
                                       int nearScoreNoStem,
                                       int adjustedScore,
                                       byte[] nearData,
                                       java.lang.String projName,
                                       java.lang.String creator,
                                       long creationDate,
                                       java.lang.String changer,
                                       long changedDate,
                                       java.util.List<TMXProp> props)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object