/** * * @param storeType * @param url * @return * @since Available in iOS 3.0 and later. * @throws NSErrorException */ public static NSPersistentStoreMetadata getMetadataForPersistentStoreType(NSPersistentStoreType storeType, NSURL url) throws NSErrorException { return getMetadataForPersistentStoreType(storeType.value().toString(), url); } /**
/** * @since Available in iOS 3.0 and later. * @deprecated Deprecated in iOS 9.0. */ @Deprecated public static NSPersistentStoreMetadata getMetadataForPersistentStoreType(String storeType, NSURL url) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSPersistentStoreMetadata result = getMetadataForPersistentStoreType(storeType, url, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 7.0 and later. */ public static NSPersistentStoreMetadata getMetadataForPersistentStoreType(String storeType, NSURL url, NSPersistentStoreOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSPersistentStoreMetadata result = getMetadataForPersistentStoreType(storeType, url, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * * @param storeType * @param url * @return * @since Available in iOS 3.0 and later. * @throws NSErrorException */ public static NSPersistentStoreMetadata getMetadataForPersistentStoreType(NSPersistentStoreType storeType, NSURL url) throws NSErrorException { return getMetadataForPersistentStoreType(storeType.value().toString(), url); } /**
/** * * @param storeType * @param url * @return * @since Available in iOS 3.0 and later. * @throws NSErrorException */ public static NSPersistentStoreMetadata getMetadataForPersistentStoreType(NSPersistentStoreType storeType, NSURL url) throws NSErrorException { return getMetadataForPersistentStoreType(storeType.value().toString(), url); } /**
/** * @since Available in iOS 3.0 and later. * @deprecated Deprecated in iOS 9.0. */ @Deprecated public static NSPersistentStoreMetadata getMetadataForPersistentStoreType(String storeType, NSURL url) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSPersistentStoreMetadata result = getMetadataForPersistentStoreType(storeType, url, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 3.0 and later. * @deprecated Deprecated in iOS 9.0. */ @Deprecated public static NSPersistentStoreMetadata getMetadataForPersistentStoreType(String storeType, NSURL url) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSPersistentStoreMetadata result = getMetadataForPersistentStoreType(storeType, url, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 7.0 and later. */ public static NSPersistentStoreMetadata getMetadataForPersistentStoreType(String storeType, NSURL url, NSPersistentStoreOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSPersistentStoreMetadata result = getMetadataForPersistentStoreType(storeType, url, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 7.0 and later. */ public static NSPersistentStoreMetadata getMetadataForPersistentStoreType(String storeType, NSURL url, NSPersistentStoreOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSPersistentStoreMetadata result = getMetadataForPersistentStoreType(storeType, url, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**