java.lang.Object
ch.tocco.nice2.templating.spi.freemarker.bean.AbstractNullableBean<Binary>
ch.tocco.nice2.templating.spi.freemarker.bean.BinaryBean
All Implemented Interfaces:
NullableBean

public class BinaryBean extends AbstractNullableBean<Binary>
  • Constructor Details

    • BinaryBean

      public BinaryBean(Binary binary)
  • Method Details

    • base64

      public String base64()
    • mimeType

      public String mimeType()
    • fileExtension

      public String fileExtension()
    • size

      public long size()
    • sizeFormatted

      public String sizeFormatted()
    • toString

      public String toString()
      Overrides:
      toString in class Object