get_best_content_encoding


Description:

public ContentEncoding get_best_content_encoding (EncodingConstraint constraint)

Calculates the most efficient content encoding for the this given the constraint.

Parameters:

this

a Part object

constraint

a EncodingConstraint

Returns:

the best content encoding for the specified mime part.