Package org.robovm.apple.uikit
Class NSMutableAttributedStringExtensions
- java.lang.Object
-
- org.robovm.objc.ObjCExtensions
-
- org.robovm.apple.foundation.NSExtensions
-
- org.robovm.apple.uikit.NSMutableAttributedStringExtensions
-
public final class NSMutableAttributedStringExtensions extends NSExtensions
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
fixAttributesInRange(NSMutableAttributedString thiz, NSRange range)
static boolean
read(NSMutableAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes opts)
static boolean
read(NSMutableAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict)
static boolean
read(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts)
static boolean
read(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict)
static boolean
readFromFileURL(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict)
Deprecated.Deprecated in iOS 9.0.-
Methods inherited from class org.robovm.apple.foundation.NSExtensions
alloc
-
-
-
-
Method Detail
-
read
public static boolean read(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts) throws NSErrorException
- Throws:
NSErrorException
-
read
public static boolean read(NSMutableAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes opts) throws NSErrorException
- Throws:
NSErrorException
-
fixAttributesInRange
public static void fixAttributesInRange(NSMutableAttributedString thiz, NSRange range)
- Since:
- Available in iOS 7.0 and later.
-
read
public static boolean read(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 9.0 and later.
-
read
public static boolean read(NSMutableAttributedString thiz, NSData data, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorException
- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
readFromFileURL
@Deprecated public static boolean readFromFileURL(NSMutableAttributedString thiz, NSURL url, NSAttributedStringDocumentAttributes opts, NSDictionary.NSDictionaryPtr<?,?> dict) throws NSErrorException
Deprecated.Deprecated in iOS 9.0. Use -readFromURL:options:documentAttributes:error: instead- Throws:
NSErrorException
- Since:
- Available in iOS 7.0 and later.
-
-