Class EntryKey

java.lang.Object
org.omegat.core.data.EntryKey
All Implemented Interfaces:
Comparable<EntryKey>

public class EntryKey extends Object implements Comparable<EntryKey>
Class for store full entry's identifier, including file, id, src, etc.
  • Field Details

    • file

      public final String file
    • sourceText

      public final String sourceText
    • id

      public final String id
    • prev

      public final String prev
    • next

      public final String next
    • path

      public final String path
  • Constructor Details

    • EntryKey

      public EntryKey(String file, String sourceText, @Nullable @Nullable String id, @Nullable @Nullable String prev, @Nullable @Nullable String next, @Nullable @Nullable String path)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • compareTo

      public int compareTo(EntryKey o)
      Specified by:
      compareTo in interface Comparable<EntryKey>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setIgnoreFileContext

      public static void setIgnoreFileContext(boolean ignore)
    • isIgnoreFileContext

      public static boolean isIgnoreFileContext()