Package apple.corespotlight
Class CSLocalizedString
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.foundation.NSString
-
- apple.corespotlight.CSLocalizedString
-
- All Implemented Interfaces:
CKRecordValue,CNKeyDescriptor,NSCoding,NSCopying,NSItemProviderReading,NSItemProviderWriting,NSMutableCopying,NSSecureCoding,NSObject
public class CSLocalizedString extends NSString
CSLocalizedString can be used in place of NSString to support localization
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.foundation.NSString
NSString.Block_enumerateLinesUsingBlock, NSString.Block_enumerateLinguisticTagsInRangeSchemeOptionsOrthographyUsingBlock, NSString.Block_enumerateSubstringsInRangeOptionsUsingBlock, NSString.Block_initWithBytesNoCopyLengthEncodingDeallocator, NSString.Block_initWithCharactersNoCopyLengthDeallocator
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.foundation.protocol.NSItemProviderWriting
NSItemProviderWriting.Block_loadDataWithTypeIdentifierForItemProviderCompletionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCSLocalizedString(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long_itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)java.lang.Object_objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)NSArray<java.lang.String>_readableTypeIdentifiersForItemProvider()boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.NSArray<java.lang.String>_writableTypeIdentifiersForItemProvider_static()static booleanaccessInstanceVariablesDirectly()static CSLocalizedStringalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static org.moe.natj.general.ptr.ConstNUIntPtravailableStringEncodings()static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static longdefaultCStringEncoding()static java.lang.StringdeferredLocalizedIntentsStringWithFormat(java.lang.String format, java.lang.Object... varargs)static java.lang.StringdeferredLocalizedIntentsStringWithFormatFromTable(java.lang.String format, java.lang.String table, java.lang.Object... varargs)static java.lang.StringdeferredLocalizedIntentsStringWithFormatFromTableArguments(java.lang.String format, java.lang.String table, org.moe.natj.general.ptr.BytePtr arguments)static java.lang.Stringdescription_static()static longhash_static()CSLocalizedStringinit()The initializers available to subclasses.CSLocalizedStringinitWithBytesLengthEncoding(org.moe.natj.general.ptr.ConstVoidPtr bytes, long len, long encoding)CSLocalizedStringinitWithBytesNoCopyLengthEncodingDeallocator(org.moe.natj.general.ptr.VoidPtr bytes, long len, long encoding, NSString.Block_initWithBytesNoCopyLengthEncodingDeallocator deallocator)CSLocalizedStringinitWithBytesNoCopyLengthEncodingFreeWhenDone(org.moe.natj.general.ptr.VoidPtr bytes, long len, long encoding, boolean freeBuffer)"NoCopy" is a hintCSLocalizedStringinitWithCharactersLength(org.moe.natj.general.ptr.ConstCharPtr characters, long length)CSLocalizedStringinitWithCharactersNoCopyLengthDeallocator(org.moe.natj.general.ptr.CharPtr chars, long len, NSString.Block_initWithCharactersNoCopyLengthDeallocator deallocator)CSLocalizedStringinitWithCharactersNoCopyLengthFreeWhenDone(org.moe.natj.general.ptr.CharPtr characters, long length, boolean freeBuffer)"NoCopy" is a hintCSLocalizedStringinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERCSLocalizedStringinitWithContentsOfFile(java.lang.String path)Deprecated.CSLocalizedStringinitWithContentsOfFileEncodingError(java.lang.String path, long enc, org.moe.natj.general.ptr.Ptr<NSError> error)CSLocalizedStringinitWithContentsOfFileUsedEncodingError(java.lang.String path, org.moe.natj.general.ptr.NUIntPtr enc, org.moe.natj.general.ptr.Ptr<NSError> error)CSLocalizedStringinitWithContentsOfURL(NSURL url)Deprecated.CSLocalizedStringinitWithContentsOfURLEncodingError(NSURL url, long enc, org.moe.natj.general.ptr.Ptr<NSError> error)These use the specified encoding.CSLocalizedStringinitWithContentsOfURLUsedEncodingError(NSURL url, org.moe.natj.general.ptr.NUIntPtr enc, org.moe.natj.general.ptr.Ptr<NSError> error)These try to determine the encoding, and return the encoding which was used.CSLocalizedStringinitWithCString(org.moe.natj.general.ptr.ConstBytePtr bytes)Deprecated.CSLocalizedStringinitWithCStringEncoding(org.moe.natj.general.ptr.ConstBytePtr nullTerminatedCString, long encoding)CSLocalizedStringinitWithCStringLength(org.moe.natj.general.ptr.ConstBytePtr bytes, long length)Deprecated.CSLocalizedStringinitWithCStringNoCopyLengthFreeWhenDone(org.moe.natj.general.ptr.BytePtr bytes, long length, boolean freeBuffer)Deprecated.CSLocalizedStringinitWithDataEncoding(NSData data, long encoding)CSLocalizedStringinitWithFormat(java.lang.String format, java.lang.Object... varargs)CSLocalizedStringinitWithFormatArguments(java.lang.String format, org.moe.natj.general.ptr.BytePtr argList)CSLocalizedStringinitWithFormatLocale(java.lang.String format, java.lang.Object locale, java.lang.Object... varargs)CSLocalizedStringinitWithFormatLocaleArguments(java.lang.String format, java.lang.Object locale, org.moe.natj.general.ptr.BytePtr argList)CSLocalizedStringinitWithLocalizedStrings(NSDictionary<?,?> localizedStrings)Takes a dictionary of preferred codes to the localized string for that languageCSLocalizedStringinitWithString(java.lang.String aString)CSLocalizedStringinitWithUTF8String(org.moe.natj.general.ptr.ConstBytePtr nullTerminatedCString)static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static longitemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static java.lang.StringlocalizedNameOfStringEncoding(long encoding)java.lang.StringlocalizedString()Returns the localized string for the current languagestatic java.lang.ObjectlocalizedStringWithFormat(java.lang.String format, java.lang.Object... varargs)static java.lang.StringlocalizedUserNotificationStringForKeyArguments(java.lang.String key, NSArray<?> arguments)static java.lang.Objectnew_objc()static java.lang.ObjectobjectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)static java.lang.StringpathWithComponents(NSArray<java.lang.String> components)static NSArray<java.lang.String>readableTypeIdentifiersForItemProvider()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)static voidsetVersion_static(long aVersion)static CSLocalizedStringstring()static longstringEncodingForDataEncodingOptionsConvertedStringUsedLossyConversion(NSData data, NSDictionary<java.lang.String,?> opts, org.moe.natj.general.ptr.Ptr<NSString> string, org.moe.natj.general.ptr.BoolPtr usedLossyConversion)static CSLocalizedStringstringWithCharactersLength(org.moe.natj.general.ptr.ConstCharPtr characters, long length)static CSLocalizedStringstringWithContentsOfFile(java.lang.String path)Deprecated.static CSLocalizedStringstringWithContentsOfFileEncodingError(java.lang.String path, long enc, org.moe.natj.general.ptr.Ptr<NSError> error)static CSLocalizedStringstringWithContentsOfFileUsedEncodingError(java.lang.String path, org.moe.natj.general.ptr.NUIntPtr enc, org.moe.natj.general.ptr.Ptr<NSError> error)static CSLocalizedStringstringWithContentsOfURL(NSURL url)Deprecated.static CSLocalizedStringstringWithContentsOfURLEncodingError(NSURL url, long enc, org.moe.natj.general.ptr.Ptr<NSError> error)static CSLocalizedStringstringWithContentsOfURLUsedEncodingError(NSURL url, org.moe.natj.general.ptr.NUIntPtr enc, org.moe.natj.general.ptr.Ptr<NSError> error)static CSLocalizedStringstringWithCString(org.moe.natj.general.ptr.ConstBytePtr bytes)Deprecated.static CSLocalizedStringstringWithCStringEncoding(org.moe.natj.general.ptr.ConstBytePtr cString, long enc)static CSLocalizedStringstringWithCStringLength(org.moe.natj.general.ptr.ConstBytePtr bytes, long length)Deprecated.static CSLocalizedStringstringWithFormat(java.lang.String format, java.lang.Object... varargs)static CSLocalizedStringstringWithString(java.lang.String string)static CSLocalizedStringstringWithUTF8String(org.moe.natj.general.ptr.ConstBytePtr nullTerminatedCString)static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()static longversion_static()static NSArray<java.lang.String>writableTypeIdentifiersForItemProvider_static()-
Methods inherited from class apple.foundation.NSString
boolValue, boundingRectWithSizeOptionsAttributesContext, canBeConvertedToEncoding, capitalizedString, capitalizedStringWithLocale, caseInsensitiveCompare, characterAtIndex, commonPrefixWithStringOptions, compare, compareOptions, compareOptionsRange, compareOptionsRangeLocale, completePathIntoStringCaseSensitiveMatchesIntoArrayFilterTypes, componentsSeparatedByCharactersInSet, componentsSeparatedByString, containsString, copyWithZone, cString, cStringLength, cStringUsingEncoding, dataUsingEncoding, dataUsingEncodingAllowLossyConversion, decomposedStringWithCanonicalMapping, decomposedStringWithCompatibilityMapping, description, doubleValue, drawAtPointForWidthWithFontFontSizeLineBreakModeBaselineAdjustment, drawAtPointForWidthWithFontLineBreakMode, drawAtPointForWidthWithFontMinFontSizeActualFontSizeLineBreakModeBaselineAdjustment, drawAtPointWithAttributes, drawAtPointWithFont, drawInRectWithAttributes, drawInRectWithFont, drawInRectWithFontLineBreakMode, drawInRectWithFontLineBreakModeAlignment, drawWithRectOptionsAttributesContext, encodeWithCoder, enumerateLinesUsingBlock, enumerateLinguisticTagsInRangeSchemeOptionsOrthographyUsingBlock, enumerateSubstringsInRangeOptionsUsingBlock, fastestEncoding, fileSystemRepresentation, floatValue, getBytesMaxLengthUsedLengthEncodingOptionsRangeRemainingRange, getCharacters, getCharactersRange, getCString, getCStringMaxLength, getCStringMaxLengthEncoding, getCStringMaxLengthRangeRemainingRange, getFileSystemRepresentationMaxLength, getLineStartEndContentsEndForRange, getParagraphStartEndContentsEndForRange, hash, hasPrefix, hasSuffix, integerValue, intValue, isAbsolutePath, isEqualToString, itemProviderVisibilityForRepresentationWithTypeIdentifier, lastPathComponent, length, lengthOfBytesUsingEncoding, lineRangeForRange, linguisticTagsInRangeSchemeOptionsOrthographyTokenRanges, loadDataWithTypeIdentifierForItemProviderCompletionHandler, localizedCapitalizedString, localizedCaseInsensitiveCompare, localizedCaseInsensitiveContainsString, localizedCompare, localizedLowercaseString, localizedStandardCompare, localizedStandardContainsString, localizedStandardRangeOfString, localizedUppercaseString, longLongValue, lossyCString, lowercaseString, lowercaseStringWithLocale, maximumLengthOfBytesUsingEncoding, mutableCopyWithZone, paragraphRangeForRange, pathComponents, pathExtension, precomposedStringWithCanonicalMapping, precomposedStringWithCompatibilityMapping, propertyList, propertyListFromStringsFileFormat, rangeOfCharacterFromSet, rangeOfCharacterFromSetOptions, rangeOfCharacterFromSetOptionsRange, rangeOfComposedCharacterSequenceAtIndex, rangeOfComposedCharacterSequencesForRange, rangeOfString, rangeOfStringOptions, rangeOfStringOptionsRange, rangeOfStringOptionsRangeLocale, sizeWithAttributes, sizeWithFont, sizeWithFontConstrainedToSize, sizeWithFontConstrainedToSizeLineBreakMode, sizeWithFontForWidthLineBreakMode, sizeWithFontMinFontSizeActualFontSizeForWidthLineBreakMode, smallestEncoding, stringByAbbreviatingWithTildeInPath, stringByAddingPercentEncodingWithAllowedCharacters, stringByAddingPercentEscapesUsingEncoding, stringByAppendingFormat, stringByAppendingPathComponent, stringByAppendingPathComponentConformingToType, stringByAppendingPathExtension, stringByAppendingPathExtensionForType, stringByAppendingString, stringByApplyingTransformReverse, stringByDeletingLastPathComponent, stringByDeletingPathExtension, stringByExpandingTildeInPath, stringByFoldingWithOptionsLocale, stringByPaddingToLengthWithStringStartingAtIndex, stringByRemovingPercentEncoding, stringByReplacingCharactersInRangeWithString, stringByReplacingOccurrencesOfStringWithString, stringByReplacingOccurrencesOfStringWithStringOptionsRange, stringByReplacingPercentEscapesUsingEncoding, stringByResolvingSymlinksInPath, stringByStandardizingPath, stringByTrimmingCharactersInSet, stringsByAppendingPaths, substringFromIndex, substringToIndex, substringWithRange, uppercaseString, uppercaseStringWithLocale, UTF8String, variantFittingPresentationWidth, writableTypeIdentifiersForItemProvider, writeToFileAtomically, writeToFileAtomicallyEncodingError, writeToURLAtomically, writeToURLAtomicallyEncodingError
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static CSLocalizedString alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
availableStringEncodings
public static org.moe.natj.general.ptr.ConstNUIntPtr availableStringEncodings()
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
defaultCStringEncoding
public static long defaultCStringEncoding()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
localizedNameOfStringEncoding
public static java.lang.String localizedNameOfStringEncoding(long encoding)
-
localizedStringWithFormat
public static java.lang.Object localizedStringWithFormat(java.lang.String format, java.lang.Object... varargs)
-
localizedUserNotificationStringForKeyArguments
public static java.lang.String localizedUserNotificationStringForKeyArguments(java.lang.String key, NSArray<?> arguments)
-
new_objc
public static java.lang.Object new_objc()
-
pathWithComponents
public static java.lang.String pathWithComponents(NSArray<java.lang.String> components)
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
string
public static CSLocalizedString string()
-
stringEncodingForDataEncodingOptionsConvertedStringUsedLossyConversion
public static long stringEncodingForDataEncodingOptionsConvertedStringUsedLossyConversion(NSData data, NSDictionary<java.lang.String,?> opts, org.moe.natj.general.ptr.Ptr<NSString> string, org.moe.natj.general.ptr.BoolPtr usedLossyConversion)
-
stringWithCString
@Deprecated public static CSLocalizedString stringWithCString(org.moe.natj.general.ptr.ConstBytePtr bytes)
Deprecated.
-
stringWithCStringEncoding
public static CSLocalizedString stringWithCStringEncoding(org.moe.natj.general.ptr.ConstBytePtr cString, long enc)
-
stringWithCStringLength
@Deprecated public static CSLocalizedString stringWithCStringLength(org.moe.natj.general.ptr.ConstBytePtr bytes, long length)
Deprecated.
-
stringWithCharactersLength
public static CSLocalizedString stringWithCharactersLength(org.moe.natj.general.ptr.ConstCharPtr characters, long length)
-
stringWithContentsOfFile
@Deprecated public static CSLocalizedString stringWithContentsOfFile(java.lang.String path)
Deprecated.
-
stringWithContentsOfFileEncodingError
public static CSLocalizedString stringWithContentsOfFileEncodingError(java.lang.String path, long enc, org.moe.natj.general.ptr.Ptr<NSError> error)
-
stringWithContentsOfFileUsedEncodingError
public static CSLocalizedString stringWithContentsOfFileUsedEncodingError(java.lang.String path, org.moe.natj.general.ptr.NUIntPtr enc, org.moe.natj.general.ptr.Ptr<NSError> error)
-
stringWithContentsOfURL
@Deprecated public static CSLocalizedString stringWithContentsOfURL(NSURL url)
Deprecated.
-
stringWithContentsOfURLEncodingError
public static CSLocalizedString stringWithContentsOfURLEncodingError(NSURL url, long enc, org.moe.natj.general.ptr.Ptr<NSError> error)
-
stringWithContentsOfURLUsedEncodingError
public static CSLocalizedString stringWithContentsOfURLUsedEncodingError(NSURL url, org.moe.natj.general.ptr.NUIntPtr enc, org.moe.natj.general.ptr.Ptr<NSError> error)
-
stringWithFormat
public static CSLocalizedString stringWithFormat(java.lang.String format, java.lang.Object... varargs)
-
stringWithString
public static CSLocalizedString stringWithString(java.lang.String string)
-
stringWithUTF8String
public static CSLocalizedString stringWithUTF8String(org.moe.natj.general.ptr.ConstBytePtr nullTerminatedCString)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
init
public CSLocalizedString init()
Description copied from class:NSStringThe initializers available to subclasses. See further below for additional init methods.
-
initWithBytesLengthEncoding
public CSLocalizedString initWithBytesLengthEncoding(org.moe.natj.general.ptr.ConstVoidPtr bytes, long len, long encoding)
- Overrides:
initWithBytesLengthEncodingin classNSString
-
initWithBytesNoCopyLengthEncodingFreeWhenDone
public CSLocalizedString initWithBytesNoCopyLengthEncodingFreeWhenDone(org.moe.natj.general.ptr.VoidPtr bytes, long len, long encoding, boolean freeBuffer)
Description copied from class:NSString"NoCopy" is a hint- Overrides:
initWithBytesNoCopyLengthEncodingFreeWhenDonein classNSString
-
initWithCString
@Deprecated public CSLocalizedString initWithCString(org.moe.natj.general.ptr.ConstBytePtr bytes)
Deprecated.- Overrides:
initWithCStringin classNSString
-
initWithCStringEncoding
public CSLocalizedString initWithCStringEncoding(org.moe.natj.general.ptr.ConstBytePtr nullTerminatedCString, long encoding)
- Overrides:
initWithCStringEncodingin classNSString
-
initWithCStringLength
@Deprecated public CSLocalizedString initWithCStringLength(org.moe.natj.general.ptr.ConstBytePtr bytes, long length)
Deprecated.- Overrides:
initWithCStringLengthin classNSString
-
initWithCStringNoCopyLengthFreeWhenDone
@Deprecated public CSLocalizedString initWithCStringNoCopyLengthFreeWhenDone(org.moe.natj.general.ptr.BytePtr bytes, long length, boolean freeBuffer)
Deprecated.- Overrides:
initWithCStringNoCopyLengthFreeWhenDonein classNSString
-
initWithCharactersLength
public CSLocalizedString initWithCharactersLength(org.moe.natj.general.ptr.ConstCharPtr characters, long length)
- Overrides:
initWithCharactersLengthin classNSString
-
initWithCharactersNoCopyLengthFreeWhenDone
public CSLocalizedString initWithCharactersNoCopyLengthFreeWhenDone(org.moe.natj.general.ptr.CharPtr characters, long length, boolean freeBuffer)
Description copied from class:NSString"NoCopy" is a hint- Overrides:
initWithCharactersNoCopyLengthFreeWhenDonein classNSString
-
initWithCoder
public CSLocalizedString initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classNSString
-
initWithContentsOfFile
@Deprecated public CSLocalizedString initWithContentsOfFile(java.lang.String path)
Deprecated.- Overrides:
initWithContentsOfFilein classNSString
-
initWithContentsOfFileEncodingError
public CSLocalizedString initWithContentsOfFileEncodingError(java.lang.String path, long enc, org.moe.natj.general.ptr.Ptr<NSError> error)
- Overrides:
initWithContentsOfFileEncodingErrorin classNSString
-
initWithContentsOfFileUsedEncodingError
public CSLocalizedString initWithContentsOfFileUsedEncodingError(java.lang.String path, org.moe.natj.general.ptr.NUIntPtr enc, org.moe.natj.general.ptr.Ptr<NSError> error)
- Overrides:
initWithContentsOfFileUsedEncodingErrorin classNSString
-
initWithContentsOfURL
@Deprecated public CSLocalizedString initWithContentsOfURL(NSURL url)
Deprecated.- Overrides:
initWithContentsOfURLin classNSString
-
initWithContentsOfURLEncodingError
public CSLocalizedString initWithContentsOfURLEncodingError(NSURL url, long enc, org.moe.natj.general.ptr.Ptr<NSError> error)
Description copied from class:NSStringThese use the specified encoding. If nil is returned, the optional error return indicates problem that was encountered (for instance, file system or encoding errors).- Overrides:
initWithContentsOfURLEncodingErrorin classNSString
-
initWithContentsOfURLUsedEncodingError
public CSLocalizedString initWithContentsOfURLUsedEncodingError(NSURL url, org.moe.natj.general.ptr.NUIntPtr enc, org.moe.natj.general.ptr.Ptr<NSError> error)
Description copied from class:NSStringThese try to determine the encoding, and return the encoding which was used. Note that these methods might get "smarter" in subsequent releases of the system, and use additional techniques for recognizing encodings. If nil is returned, the optional error return indicates problem that was encountered (for instance, file system or encoding errors).- Overrides:
initWithContentsOfURLUsedEncodingErrorin classNSString
-
initWithDataEncoding
public CSLocalizedString initWithDataEncoding(NSData data, long encoding)
- Overrides:
initWithDataEncodingin classNSString
-
initWithFormat
public CSLocalizedString initWithFormat(java.lang.String format, java.lang.Object... varargs)
- Overrides:
initWithFormatin classNSString
-
initWithFormatArguments
public CSLocalizedString initWithFormatArguments(java.lang.String format, org.moe.natj.general.ptr.BytePtr argList)
- Overrides:
initWithFormatArgumentsin classNSString
-
initWithFormatLocale
public CSLocalizedString initWithFormatLocale(java.lang.String format, java.lang.Object locale, java.lang.Object... varargs)
- Overrides:
initWithFormatLocalein classNSString
-
initWithFormatLocaleArguments
public CSLocalizedString initWithFormatLocaleArguments(java.lang.String format, java.lang.Object locale, org.moe.natj.general.ptr.BytePtr argList)
- Overrides:
initWithFormatLocaleArgumentsin classNSString
-
initWithLocalizedStrings
public CSLocalizedString initWithLocalizedStrings(NSDictionary<?,?> localizedStrings)
Takes a dictionary of preferred codes to the localized string for that language
-
initWithString
public CSLocalizedString initWithString(java.lang.String aString)
- Overrides:
initWithStringin classNSString
-
initWithUTF8String
public CSLocalizedString initWithUTF8String(org.moe.natj.general.ptr.ConstBytePtr nullTerminatedCString)
- Overrides:
initWithUTF8Stringin classNSString
-
localizedString
public java.lang.String localizedString()
Returns the localized string for the current language
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding- Overrides:
_supportsSecureCodingin classNSString
-
itemProviderVisibilityForRepresentationWithTypeIdentifier_static
public static long itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)
-
_itemProviderVisibilityForRepresentationWithTypeIdentifier_static
public long _itemProviderVisibilityForRepresentationWithTypeIdentifier_static(java.lang.String typeIdentifier)
- Specified by:
_itemProviderVisibilityForRepresentationWithTypeIdentifier_staticin interfaceNSItemProviderWriting- Overrides:
_itemProviderVisibilityForRepresentationWithTypeIdentifier_staticin classNSString
-
objectWithItemProviderDataTypeIdentifierError
public static java.lang.Object objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)
-
_objectWithItemProviderDataTypeIdentifierError
public java.lang.Object _objectWithItemProviderDataTypeIdentifierError(NSData data, java.lang.String typeIdentifier, org.moe.natj.general.ptr.Ptr<NSError> outError)
- Specified by:
_objectWithItemProviderDataTypeIdentifierErrorin interfaceNSItemProviderReading- Overrides:
_objectWithItemProviderDataTypeIdentifierErrorin classNSString
-
readableTypeIdentifiersForItemProvider
public static NSArray<java.lang.String> readableTypeIdentifiersForItemProvider()
-
_readableTypeIdentifiersForItemProvider
public NSArray<java.lang.String> _readableTypeIdentifiersForItemProvider()
- Specified by:
_readableTypeIdentifiersForItemProviderin interfaceNSItemProviderReading- Overrides:
_readableTypeIdentifiersForItemProviderin classNSString
-
writableTypeIdentifiersForItemProvider_static
public static NSArray<java.lang.String> writableTypeIdentifiersForItemProvider_static()
-
_writableTypeIdentifiersForItemProvider_static
public NSArray<java.lang.String> _writableTypeIdentifiersForItemProvider_static()
- Specified by:
_writableTypeIdentifiersForItemProvider_staticin interfaceNSItemProviderWriting- Overrides:
_writableTypeIdentifiersForItemProvider_staticin classNSString
-
deferredLocalizedIntentsStringWithFormat
public static java.lang.String deferredLocalizedIntentsStringWithFormat(java.lang.String format, java.lang.Object... varargs)
-
deferredLocalizedIntentsStringWithFormatFromTable
public static java.lang.String deferredLocalizedIntentsStringWithFormatFromTable(java.lang.String format, java.lang.String table, java.lang.Object... varargs)
-
deferredLocalizedIntentsStringWithFormatFromTableArguments
public static java.lang.String deferredLocalizedIntentsStringWithFormatFromTableArguments(java.lang.String format, java.lang.String table, org.moe.natj.general.ptr.BytePtr arguments)
-
initWithBytesNoCopyLengthEncodingDeallocator
public CSLocalizedString initWithBytesNoCopyLengthEncodingDeallocator(org.moe.natj.general.ptr.VoidPtr bytes, long len, long encoding, NSString.Block_initWithBytesNoCopyLengthEncodingDeallocator deallocator)
- Overrides:
initWithBytesNoCopyLengthEncodingDeallocatorin classNSString
-
initWithCharactersNoCopyLengthDeallocator
public CSLocalizedString initWithCharactersNoCopyLengthDeallocator(org.moe.natj.general.ptr.CharPtr chars, long len, NSString.Block_initWithCharactersNoCopyLengthDeallocator deallocator)
- Overrides:
initWithCharactersNoCopyLengthDeallocatorin classNSString
-
-