Interface IProcessTranslatedFileEvent

All Superinterfaces:
IEventHandler
All Known Subinterfaces:
IProcessXmlFileEvent

public interface IProcessTranslatedFileEvent extends IEventHandler
Process a given XML file
Author:
Phillip Austerfield
  • Method Summary

    Modifier and Type
    Method
    Description
    @org.jetbrains.annotations.Nullable byte[]
    process(@org.jetbrains.annotations.NotNull byte[] bytesXml)
    Process XML file
  • Method Details

    • process

      @Nullable @org.jetbrains.annotations.Nullable byte[] process(@NotNull @org.jetbrains.annotations.NotNull byte[] bytesXml) throws IllegalStateException
      Process XML file
      Parameters:
      bytesXml - Input byte representation of the XML file
      Returns:
      byte content to save. If NULL or empty, nothing will be stored
      Throws:
      IllegalStateException - if the XML file is corrupt and must not be imported (basically, remove it)