Class TruncateStrings.TruncatingValueConverter

    • Field Detail

      • maxLength

        protected final int maxLength
    • Constructor Detail

      • TruncatingValueConverter

        public TruncatingValueConverter​(int maxLength)
    • Method Detail

      • convert

        public Object convert​(Object value)
        Description copied from interface: ValueConverter
        Convert the column's data value.
        Specified by:
        convert in interface ValueConverter
        Parameters:
        value - the column data value
        Returns:
        the new data value