Class RegExDictionaryFileEditor

java.lang.Object
com.e1c.langtool.storage.regex.AbstractRegExtFileEditor<RegExDictionaryData>
com.e1c.langtool.storage.regex.RegExDictionaryFileEditor
All Implemented Interfaces:
IFileEditor<RegExDictionaryData>

public class RegExDictionaryFileEditor extends AbstractRegExtFileEditor<RegExDictionaryData>
  • Constructor Details

  • Method Details

    • save

      public void save(org.eclipse.core.runtime.IProgressMonitor monitor) throws IOException
      Description copied from interface: IFileEditor
      Store translations to the file.
      Parameters:
      monitor - the monitor
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • save

      public byte[] save(com.google.common.hash.HashFunction hashFunction, org.eclipse.core.runtime.IProgressMonitor monitor) throws IOException
      Description copied from interface: IFileEditor
      Store translations to the file.
      monitor - the monitor
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • isEmpty

      public boolean isEmpty()
      Description copied from interface: IFileEditor
      Returns true if no translations stored in this file.
      Returns:
      true if no translations stored in this file, false otherwise.
    • load

      public void load()
      Description copied from interface: IFileEditor
      Load from the resource file.
    • getData

      public RegExDictionaryData getData()
      Description copied from interface: IFileEditor
      Gets file model data.
      Returns:
      the file model data, cannot return null.