Class Photo

    • Constructor Detail

      • Photo

        public Photo​(URI uri)
        Parameters:
        uri - a URI that specifies the location of a photo
      • Photo

        public Photo​(byte[] binary)
        Parameters:
        binary - a byte array of photo data
      • Photo

        public Photo​(byte[] binary,
                     Type contentType)
        Parameters:
        binary - a byte array of photo data
        contentType - the MIME type of the photo data
      • Photo

        public Photo​(ParameterList params,
                     String value)
        Factory constructor.
        Parameters:
        params - property parameters
        value - string representation of a property value
        Throws:
        IllegalArgumentException - where the specified photo data value cannot be decoded