public class NSLocale extends NSObject implements NSCopying, NSSecureCoding
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSLocale(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static NSLocale |
alloc() |
static NSLocale |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
java.lang.String |
alternateQuotationBeginDelimiter() |
java.lang.String |
alternateQuotationEndDelimiter() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static NSLocale |
autoupdatingCurrentLocale()
generally you should use this property
|
static NSArray<java.lang.String> |
availableLocaleIdentifiers() |
java.lang.String |
calendarIdentifier() |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static java.lang.String |
canonicalLanguageIdentifierFromString(java.lang.String string) |
static java.lang.String |
canonicalLocaleIdentifierFromString(java.lang.String string) |
static long |
characterDirectionForLanguage(java.lang.String isoLangCode) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.String |
collationIdentifier() |
java.lang.String |
collatorIdentifier() |
static NSArray<java.lang.String> |
commonISOCurrencyCodes() |
static NSDictionary<java.lang.String,java.lang.String> |
componentsFromLocaleIdentifier(java.lang.String string) |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
java.lang.String |
countryCode() |
java.lang.String |
currencyCode() |
java.lang.String |
currencySymbol() |
static NSLocale |
currentLocale()
an object representing the user's current locale
|
static java.lang.String |
debugDescription_static() |
java.lang.String |
decimalSeparator() |
static java.lang.String |
description_static() |
java.lang.String |
displayNameForKeyValue(java.lang.String key,
java.lang.Object value) |
void |
encodeWithCoder(NSCoder coder) |
NSCharacterSet |
exemplarCharacterSet() |
java.lang.String |
groupingSeparator() |
static long |
hash_static() |
NSLocale |
init() |
NSLocale |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
NSLocale |
initWithLocaleIdentifier(java.lang.String string) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static NSArray<java.lang.String> |
ISOCountryCodes() |
static NSArray<java.lang.String> |
ISOCurrencyCodes() |
static NSArray<java.lang.String> |
ISOLanguageCodes() |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
java.lang.String |
languageCode() |
static long |
lineDirectionForLanguage(java.lang.String isoLangCode) |
java.lang.String |
localeIdentifier()
same as NSLocaleIdentifier
|
static java.lang.String |
localeIdentifierFromComponents(NSDictionary<java.lang.String,java.lang.String> dict) |
static java.lang.String |
localeIdentifierFromWindowsLocaleCode(int lcid) |
static NSLocale |
localeWithLocaleIdentifier(java.lang.String ident) |
java.lang.String |
localizedStringForCalendarIdentifier(java.lang.String calendarIdentifier) |
java.lang.String |
localizedStringForCollationIdentifier(java.lang.String collationIdentifier) |
java.lang.String |
localizedStringForCollatorIdentifier(java.lang.String collatorIdentifier) |
java.lang.String |
localizedStringForCountryCode(java.lang.String countryCode) |
java.lang.String |
localizedStringForCurrencyCode(java.lang.String currencyCode) |
java.lang.String |
localizedStringForLanguageCode(java.lang.String languageCode) |
java.lang.String |
localizedStringForLocaleIdentifier(java.lang.String localeIdentifier) |
java.lang.String |
localizedStringForScriptCode(java.lang.String scriptCode) |
java.lang.String |
localizedStringForVariantCode(java.lang.String variantCode) |
static NSLocale |
new_objc() |
java.lang.Object |
objectForKey(java.lang.String key) |
static NSArray<java.lang.String> |
preferredLanguages()
note that this list does not indicate what language the app is actually running in; the NSBundle.mainBundle object determines that at launch and knows that information
|
java.lang.String |
quotationBeginDelimiter() |
java.lang.String |
quotationEndDelimiter() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
java.lang.String |
scriptCode() |
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static NSLocale |
systemLocale()
the default generic root locale with little localization
|
boolean |
usesMetricSystem() |
java.lang.String |
variantCode() |
static long |
version_static() |
static int |
windowsLocaleCodeFromLocaleIdentifier(java.lang.String localeIdentifier) |
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, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, 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, willChangeValuesAtIndexesForKeypublic static NSArray<java.lang.String> ISOCountryCodes()
public static NSArray<java.lang.String> ISOCurrencyCodes()
public static NSArray<java.lang.String> ISOLanguageCodes()
public static boolean accessInstanceVariablesDirectly()
public static NSLocale alloc()
public static NSLocale allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static NSLocale autoupdatingCurrentLocale()
public static NSArray<java.lang.String> availableLocaleIdentifiers()
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static java.lang.String canonicalLanguageIdentifierFromString(java.lang.String string)
public static java.lang.String canonicalLocaleIdentifierFromString(java.lang.String string)
public static long characterDirectionForLanguage(java.lang.String isoLangCode)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static NSArray<java.lang.String> commonISOCurrencyCodes()
public static NSDictionary<java.lang.String,java.lang.String> componentsFromLocaleIdentifier(java.lang.String string)
public static NSLocale currentLocale()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static long lineDirectionForLanguage(java.lang.String isoLangCode)
public static java.lang.String localeIdentifierFromComponents(NSDictionary<java.lang.String,java.lang.String> dict)
public static java.lang.String localeIdentifierFromWindowsLocaleCode(int lcid)
public static NSLocale localeWithLocaleIdentifier(java.lang.String ident)
public static NSLocale new_objc()
public static NSArray<java.lang.String> preferredLanguages()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static NSLocale systemLocale()
public static long version_static()
public static int windowsLocaleCodeFromLocaleIdentifier(java.lang.String localeIdentifier)
public java.lang.String alternateQuotationBeginDelimiter()
public java.lang.String alternateQuotationEndDelimiter()
public java.lang.String calendarIdentifier()
public java.lang.String collationIdentifier()
public java.lang.String collatorIdentifier()
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic java.lang.String countryCode()
public java.lang.String currencyCode()
public java.lang.String currencySymbol()
public java.lang.String decimalSeparator()
public java.lang.String displayNameForKeyValue(java.lang.String key,
java.lang.Object value)
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic NSCharacterSet exemplarCharacterSet()
public java.lang.String groupingSeparator()
public NSLocale initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic NSLocale initWithLocaleIdentifier(java.lang.String string)
public java.lang.String languageCode()
public java.lang.String localeIdentifier()
public java.lang.String localizedStringForCalendarIdentifier(java.lang.String calendarIdentifier)
public java.lang.String localizedStringForCollationIdentifier(java.lang.String collationIdentifier)
public java.lang.String localizedStringForCollatorIdentifier(java.lang.String collatorIdentifier)
public java.lang.String localizedStringForCountryCode(java.lang.String countryCode)
public java.lang.String localizedStringForCurrencyCode(java.lang.String currencyCode)
public java.lang.String localizedStringForLanguageCode(java.lang.String languageCode)
public java.lang.String localizedStringForLocaleIdentifier(java.lang.String localeIdentifier)
public java.lang.String localizedStringForScriptCode(java.lang.String scriptCode)
public java.lang.String localizedStringForVariantCode(java.lang.String variantCode)
public java.lang.Object objectForKey(java.lang.String key)
public java.lang.String quotationBeginDelimiter()
public java.lang.String quotationEndDelimiter()
public java.lang.String scriptCode()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic boolean usesMetricSystem()
public java.lang.String variantCode()