Class FeatureKeyContextData

java.lang.Object
com.e1c.langtool.storage.properties.FeatureKeyContextData
All Implemented Interfaces:
ContextTranslationData

public class FeatureKeyContextData extends Object implements ContextTranslationData
The context data model of the file with FeatureKey key and String value. Allows to configure case-sensitive of the key segments and the value for all entries. This implementation is thread-safe.
  • Field Details

    • keyCaseSensitive

      protected final boolean keyCaseSensitive
    • valueCaseSensitive

      protected final boolean valueCaseSensitive
    • storage

      protected final Map<FeatureKey,String> storage
    • comments

      protected final Map<FeatureKey,String> comments
  • Constructor Details

    • FeatureKeyContextData

      public FeatureKeyContextData(boolean keyCaseSensitive, boolean valueCaseSensitive, String comment)
      Instantiates a new feature key context data.
      Parameters:
      keyCaseSensitive - the key case sensitive
      valueCaseSensitive - the value case sensitive
      comment - the comment, can be null.
    • FeatureKeyContextData

      public FeatureKeyContextData(boolean keyCaseSensitive, boolean valueCaseSensitive, String comment, Runnable changeNotification)
      Instantiates a new feature key context data.
      Parameters:
      keyCaseSensitive - the key case sensitive
      valueCaseSensitive - the value case sensitive
      comment - the comment, can be null.
      changeNotification - the change notification, can be null.
  • Method Details