/** * @since Available in iOS 4.3 and later. */ public boolean equalsTo(CMFormatDescription desc2, String formatDescriptionExtensionKeysToIgnore, String sampleDescriptionExtensionAtomKeysToIgnore) { return equalsTo0(desc2, new CFString(formatDescriptionExtensionKeysToIgnore), new CFString(sampleDescriptionExtensionAtomKeysToIgnore)); } /**
public ABPersonRelatedName(String name, ABPersonRelatedNameLabel label) { this.name = new CFString(name); this.label = label.value(); } protected ABPersonRelatedName(CFString name, CFString label) {
public CGImagePropertyCIFFData set(CGImagePropertyCIFF property, String value) { set(property, new CFString(value)); return this; } public CGImagePropertyCIFFData set(CGImagePropertyCIFF property, double value) {
public CGImagePropertyExifAuxData set(CGImagePropertyExifAux property, String value) { set(property, new CFString(value)); return this; } public CGImagePropertyExifAuxData set(CGImagePropertyExifAux property, double value) {
public static CFArray fromStrings (String... strings) { int length = strings.length; CFString[] cfStrings = new CFString[length]; for (int i = 0; i < length; i++) { cfStrings[i] = new CFString(strings[i]); } return CFArray.create(cfStrings); }
public ABPersonEmailAddress(String address, ABPropertyLabel label) { this.address = new CFString(address); this.label = label.value(); } protected ABPersonEmailAddress(CFString address, CFString label) {
public CGImagePropertyTIFFData set(CGImagePropertyTIFF property, String value) { set(property, new CFString(value)); return this; } public CGImagePropertyTIFFData set(CGImagePropertyTIFF property, double value) {
public CGImagePropertyCanonData set(CGImagePropertyCanon property, String value) { set(property, new CFString(value)); return this; } public CGImagePropertyCanonData set(CGImagePropertyCanon property, double value) {
/** * @since Available in iOS 2.0 and later. */ public SecAttributes setLabel(String label) { set(Keys.Label(), new CFString(label)); return this; } /**
/** * @since Available in iOS 2.0 and later. */ public SecAttributes setSecurityDomain(String securityDomain) { set(Keys.SecurityDomain(), new CFString(securityDomain)); return this; } /**
/** * @since Available in iOS 4.0 and later. */ public CMTextFormatDescriptionExtension setDefaultFontName(String defaultFontName) { set(Keys.DefaultFontName(), new CFString(defaultFontName)); return this; } /*</methods>*/
/** * @since Available in iOS 5.0 and later. */ public ABPersonSocialProfile setUserIdentifier(String userIdentifier) { data.put(UserIdentifierKey(), new CFString(userIdentifier)); return this; } /*<methods>*/
public ABPerson setLastName(String lastName) throws NSErrorException { if (lastName == null) { setValue(ABPersonProperty.LastName, null); } else { setValue(ABPersonProperty.LastName, new CFString(lastName)); } return this; } public String getMiddleName() {
public ABPerson setNote(String note) throws NSErrorException { if (note == null) { setValue(ABPersonProperty.Note, null); } else { setValue(ABPersonProperty.Note, new CFString(note)); } return this; } public NSDate getCreationDate() {
/** * @since Available in iOS 2.0 and later. */ public CFHTTPAuthenticationCredentials setUsername(String username) { set(Keys.Username(), new CFString(username)); return this; } /**
/** * @since Available in iOS 2.0 and later. */ public CFHTTPAuthenticationCredentials setPassword(String password) { set(Keys.Password(), new CFString(password)); return this; } /**
/** * @since Available in iOS 2.0 and later. */ public CFHTTPAuthenticationCredentials setAccountDomain(String accountDomain) { set(Keys.AccountDomain(), new CFString(accountDomain)); return this; } /*</methods>*/
/** * @since Available in iOS 2.0 and later. */ public CGPDFContextOptions setOwnerPassword(String ownerPassword) { set(Keys.OwnerPassword(), new CFString(ownerPassword)); return this; } /**
/** * @since Available in iOS 2.0 and later. */ public CFStreamSocketSOCKSProxy setHost(String host) { set(Keys.ProxyHost(), new CFString(host)); return this; } /**
public ABPersonInstantMessageAccount(String username, ABPersonInstantMessageService service, String label) { this.data = CFMutableDictionary.create(); setUsername(username); setService(service); this.label = new CFString(label); } public ABPersonInstantMessageAccount(String username, ABPersonInstantMessageService service, ABPropertyLabel label) {