/** * @since Available in iOS 8.0 and later. */ protected boolean getRelationshipOfDirectoryToItem(MachineSizedSIntPtr outRelationship, NSURL directoryURL, NSURL otherURL) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = getRelationshipOfDirectoryToItem(outRelationship, directoryURL, otherURL, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 8.0 and later. */ protected boolean getRelationshipOfDirectoryToItem(MachineSizedSIntPtr outRelationship, NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, NSURL url) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = getRelationshipOfDirectoryToItem(outRelationship, directory, domainMask, url, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 8.0 and later. * @throws NSErrorException */ public NSURLRelationship getRelationshipOfDirectoryToItem(NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, NSURL url) throws NSErrorException { MachineSizedSIntPtr ptr = new MachineSizedSIntPtr(); NSError.NSErrorPtr err = new NSError.NSErrorPtr(); if (getRelationshipOfDirectoryToItem(ptr, directory, domainMask, url, err)) { return NSURLRelationship.valueOf(ptr.get()); } if (err.get() != null) { throw new NSErrorException(err.get()); } return null; } /*<methods>*/
/** * @since Available in iOS 8.0 and later. * @throws NSErrorException */ public NSURLRelationship getRelationshipOfDirectoryToItem(NSURL directoryURL, NSURL otherURL) throws NSErrorException { MachineSizedSIntPtr ptr = new MachineSizedSIntPtr(); NSError.NSErrorPtr err = new NSError.NSErrorPtr(); if (getRelationshipOfDirectoryToItem(ptr, directoryURL, otherURL, err)) { return NSURLRelationship.valueOf(ptr.get()); } if (err.get() != null) { throw new NSErrorException(err.get()); } return null; } /**
/** * @since Available in iOS 8.0 and later. */ protected boolean getRelationshipOfDirectoryToItem(MachineSizedSIntPtr outRelationship, NSURL directoryURL, NSURL otherURL) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = getRelationshipOfDirectoryToItem(outRelationship, directoryURL, otherURL, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 8.0 and later. */ protected boolean getRelationshipOfDirectoryToItem(MachineSizedSIntPtr outRelationship, NSURL directoryURL, NSURL otherURL) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = getRelationshipOfDirectoryToItem(outRelationship, directoryURL, otherURL, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 8.0 and later. */ protected boolean getRelationshipOfDirectoryToItem(MachineSizedSIntPtr outRelationship, NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, NSURL url) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = getRelationshipOfDirectoryToItem(outRelationship, directory, domainMask, url, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 8.0 and later. */ protected boolean getRelationshipOfDirectoryToItem(MachineSizedSIntPtr outRelationship, NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, NSURL url) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = getRelationshipOfDirectoryToItem(outRelationship, directory, domainMask, url, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 8.0 and later. * @throws NSErrorException */ public NSURLRelationship getRelationshipOfDirectoryToItem(NSURL directoryURL, NSURL otherURL) throws NSErrorException { MachineSizedSIntPtr ptr = new MachineSizedSIntPtr(); NSError.NSErrorPtr err = new NSError.NSErrorPtr(); if (getRelationshipOfDirectoryToItem(ptr, directoryURL, otherURL, err)) { return NSURLRelationship.valueOf(ptr.get()); } if (err.get() != null) { throw new NSErrorException(err.get()); } return null; } /**
/** * @since Available in iOS 8.0 and later. * @throws NSErrorException */ public NSURLRelationship getRelationshipOfDirectoryToItem(NSURL directoryURL, NSURL otherURL) throws NSErrorException { MachineSizedSIntPtr ptr = new MachineSizedSIntPtr(); NSError.NSErrorPtr err = new NSError.NSErrorPtr(); if (getRelationshipOfDirectoryToItem(ptr, directoryURL, otherURL, err)) { return NSURLRelationship.valueOf(ptr.get()); } if (err.get() != null) { throw new NSErrorException(err.get()); } return null; } /**
/** * @since Available in iOS 8.0 and later. * @throws NSErrorException */ public NSURLRelationship getRelationshipOfDirectoryToItem(NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, NSURL url) throws NSErrorException { MachineSizedSIntPtr ptr = new MachineSizedSIntPtr(); NSError.NSErrorPtr err = new NSError.NSErrorPtr(); if (getRelationshipOfDirectoryToItem(ptr, directory, domainMask, url, err)) { return NSURLRelationship.valueOf(ptr.get()); } if (err.get() != null) { throw new NSErrorException(err.get()); } return null; } /*<methods>*/
/** * @since Available in iOS 8.0 and later. * @throws NSErrorException */ public NSURLRelationship getRelationshipOfDirectoryToItem(NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, NSURL url) throws NSErrorException { MachineSizedSIntPtr ptr = new MachineSizedSIntPtr(); NSError.NSErrorPtr err = new NSError.NSErrorPtr(); if (getRelationshipOfDirectoryToItem(ptr, directory, domainMask, url, err)) { return NSURLRelationship.valueOf(ptr.get()); } if (err.get() != null) { throw new NSErrorException(err.get()); } return null; } /*<methods>*/