Binary

Binary

The Binary class represents the data stored in a binary attribute of a CMS object or widget.

Static method summary

Instance method summary

  • Returns the length of the binary data, in bytes.

  • Returns the content type of the binary data, e.g. "image/jpeg".

  • Prepares the Binary instance for copying. Returns a FutureBinary.

  • The file name of this binary data.

  • Checks whether the binary should not be publicly accessible.

  • Returns the metadata of the given binary.

  • Selects a version of an image based on the provided definition.

  • The original version of a binary.

  • The raw version of a binary.

  • The URL for accessing the binary data and downloading it using an HTTP GET request.