Class FilterUtil


  • public final class FilterUtil
    extends java.lang.Object
    Utilities for implementing filters.
    Since:
    0.5.0
    Author:
    Erich Schubert
    • Constructor Detail

      • FilterUtil

        private FilterUtil()
        Fake constructor: do not instantiate.
    • Method Detail

      • findLabelColumn

        public static int findLabelColumn​(MultipleObjectsBundle bundle)
        Find the first "label-like" column (matching TypeUtil.GUESSED_LABEL ) in a bundle.
        Parameters:
        bundle - Bundle
        Returns:
        Column number, or -1.
      • findLabelColumn

        public static int findLabelColumn​(BundleMeta meta)
        Find the first "label-like" column (matching TypeUtil.GUESSED_LABEL ) in a type information.
        Parameters:
        meta - Meta data
        Returns:
        Column number, or -1.