Class SdlPackageFilter

  • All Implemented Interfaces:
    AutoCloseable, Iterator<Event>, IFilter

    public class SdlPackageFilter
    extends ArchiveFilter
    Implements the IFilter interface for SDLPPX and SDLRPX files. This is written on top of the ArchiveFilter class. The entries generated are the ones from the .sdlxliff files in the sub-folder that is named for the target language.
    • Constructor Detail

      • SdlPackageFilter

        public SdlPackageFilter()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: IFilter
        Gets the name/identifier of this filter.
        Specified by:
        getName in interface IFilter
        Overrides:
        getName in class ArchiveFilter
        Returns:
        The name/identifier of the filter.
      • open

        public void open​(RawDocument input,
                         boolean generateSkeleton)
        Description copied from interface: IFilter
        Opens the input document described in a give RawDocument object, and optionally creates skeleton information.
        Specified by:
        open in interface IFilter
        Overrides:
        open in class ArchiveFilter
        Parameters:
        input - The RawDocument object to use to open the document.
        generateSkeleton - true to generate the skeleton data, false otherwise.