Class FileSizeDecorator

  • All Implemented Interfaces:
    net.anotheria.asg.util.decorators.IAttributeDecorator

    public class FileSizeDecorator
    extends Object
    implements net.anotheria.asg.util.decorators.IAttributeDecorator
    This decorator returns the size of the underlying ImageDocument and the contained image file name.
    Author:
    another
    • Constructor Detail

      • FileSizeDecorator

        public FileSizeDecorator()
    • Method Detail

      • decorate

        public String decorate​(net.anotheria.asg.data.DataObject doc,
                               String attributeName,
                               String rule)
        Specified by:
        decorate in interface net.anotheria.asg.util.decorators.IAttributeDecorator