/** * @throws NSErrorException * @since Available in iOS 4.0 and later. */ public CFData asData(CFAllocator allocator, CFPropertyListFormat format, @MachineSizedUInt long options) throws NSErrorException { return asData(allocator, this, format, options); } /*<methods>*/
/** * @throws NSErrorException * @since Available in iOS 4.0 and later. */ public CFData asData(CFPropertyListFormat format, @MachineSizedUInt long options) throws NSErrorException { return asData(null, this, format, options); } /**
/** * @since Available in iOS 4.0 and later. */ private static CFData asData(CFAllocator allocator, CFPropertyList propertyList, CFPropertyListFormat format, @MachineSizedUInt long options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); CFData result = asData(allocator, propertyList, format, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @throws NSErrorException * @since Available in iOS 4.0 and later. */ public CFData asData(CFAllocator allocator, CFPropertyListFormat format, @MachineSizedUInt long options) throws NSErrorException { return asData(allocator, this, format, options); } /*<methods>*/
/** * @throws NSErrorException * @since Available in iOS 4.0 and later. */ public CFData asData(CFPropertyListFormat format, @MachineSizedUInt long options) throws NSErrorException { return asData(null, this, format, options); } /**
/** * @throws NSErrorException * @since Available in iOS 4.0 and later. */ public CFData asData(CFPropertyListFormat format, @MachineSizedUInt long options) throws NSErrorException { return asData(null, this, format, options); } /**
/** * @throws NSErrorException * @since Available in iOS 4.0 and later. */ public CFData asData(CFAllocator allocator, CFPropertyListFormat format, @MachineSizedUInt long options) throws NSErrorException { return asData(allocator, this, format, options); } /*<methods>*/
/** * @since Available in iOS 4.0 and later. */ private static CFData asData(CFAllocator allocator, CFPropertyList propertyList, CFPropertyListFormat format, @MachineSizedUInt long options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); CFData result = asData(allocator, propertyList, format, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 4.0 and later. */ private static CFData asData(CFAllocator allocator, CFPropertyList propertyList, CFPropertyListFormat format, @MachineSizedUInt long options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); CFData result = asData(allocator, propertyList, format, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**