/** * Creates a new flavor with the given type and subtype. * * @param type * the type of the flavor * @param subtype * the subtype of the flavor */ public MediaPackageElementFlavor(String type, String subtype) { this.type = checkPartSyntax(type); this.subtype = checkPartSyntax(subtype); }