/** * @since Available in iOS 4.1 and later. */ public static boolean registerFonts(NSArray<NSURL> fontURLs, CTFontManagerScope scope) { return registerFonts(fontURLs, scope, null); } /**
/** * @since Available in iOS 4.1 and later. */ public static boolean registerFonts(List<NSURL> fontURLs, CTFontManagerScope scope) { return registerFonts(new NSArray<>(fontURLs), scope, null); } /**
/** * @since Available in iOS 4.1 and later. */ public static boolean registerFonts(NSURL fontURL, CTFontManagerScope scope) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = registerFonts(fontURL, scope, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 4.1 and later. */ public static boolean registerFonts(NSArray<NSURL> fontURLs, CTFontManagerScope scope) { return registerFonts(fontURLs, scope, null); } /**
/** * @since Available in iOS 4.1 and later. */ public static boolean registerFonts(NSArray<NSURL> fontURLs, CTFontManagerScope scope) { return registerFonts(fontURLs, scope, null); } /**
/** * @since Available in iOS 4.1 and later. */ public static boolean registerFonts(List<NSURL> fontURLs, CTFontManagerScope scope) { return registerFonts(new NSArray<>(fontURLs), scope, null); } /**
/** * @since Available in iOS 4.1 and later. */ public static boolean registerFonts(List<NSURL> fontURLs, CTFontManagerScope scope) { return registerFonts(new NSArray<>(fontURLs), scope, null); } /**
/** * @since Available in iOS 4.1 and later. */ public static boolean registerFonts(NSURL fontURL, CTFontManagerScope scope) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = registerFonts(fontURL, scope, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 4.1 and later. */ public static boolean registerFonts(NSURL fontURL, CTFontManagerScope scope) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); boolean result = registerFonts(fontURL, scope, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**