Package apple.foundation
Class NSBundle
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.foundation.NSBundle
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNSBundle(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static @NotNull NSArray<? extends NSBundle>allBundles()static @NotNull NSArray<? extends NSBundle>allFrameworks()static NSBundlealloc()static NSBundleallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)@Nullable NSURLappStoreReceiptURL()API-Since: 7.0static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)@Nullable java.lang.StringbuiltInPlugInsPath()@Nullable NSURLbuiltInPlugInsURL()API-Since: 4.0static @NotNull NSBundlebundleForClass(@NotNull org.moe.natj.objc.Class aClass)@Nullable java.lang.StringbundleIdentifier()Methods for obtaining various information about a bundle.@NotNull java.lang.StringbundlePath()@NotNull NSURLbundleURL()Methods for locating various components of a bundle.static @Nullable NSBundlebundleWithIdentifier(@NotNull java.lang.String identifier)static NSBundlebundleWithPath(@NotNull java.lang.String path)static NSBundlebundleWithURL(@NotNull NSURL url)API-Since: 4.0static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()@Nullable org.moe.natj.objc.ClassclassNamed(@NotNull java.lang.String className)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@Nullable java.lang.StringdevelopmentLocalization()@Nullable NSArray<? extends NSNumber>executableArchitectures()API-Since: 2.0@Nullable java.lang.StringexecutablePath()@Nullable NSURLexecutableURL()API-Since: 4.0static longhash_static()@Nullable NSDictionary<java.lang.String,?>infoDictionary()NSBundleinit()NSBundleinitWithPath(@NotNull java.lang.String path)NSBundleinitWithURL(@NotNull NSURL url)API-Since: 4.0static 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)booleanisLoaded()static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)booleanload_objc()Methods for loading and unloading bundles.booleanloadAndReturnError(@Nullable org.moe.natj.general.ptr.Ptr<NSError> error)API-Since: 2.0@Nullable NSArray<?>loadNibNamedOwnerOptions(@NotNull java.lang.String name, @Nullable java.lang.Object owner, @Nullable NSDictionary<java.lang.String,?> options)@NotNull NSArray<java.lang.String>localizations()list of language names this bundle appears to be localized to@NotNull NSAttributedStringlocalizedAttributedStringForKeyValueTable(@NotNull java.lang.String key, @Nullable java.lang.String value, @Nullable java.lang.String tableName)API-Since: 15.0@Nullable NSDictionary<java.lang.String,?>localizedInfoDictionary()@NotNull java.lang.StringlocalizedStringForKeyValueTable(@NotNull java.lang.String key, @Nullable java.lang.String value, @Nullable java.lang.String tableName)Methods for retrieving localized strings.static @NotNull NSBundlemainBundle()Methods for creating or retrieving bundle instances.static NSBundlenew_objc()@Nullable java.lang.ObjectobjectForInfoDictionaryKey(@NotNull java.lang.String key)@Nullable java.lang.StringpathForAuxiliaryExecutable(@NotNull java.lang.String executableName)@Nullable java.lang.StringpathForResourceOfType(@Nullable java.lang.String name, @Nullable java.lang.String ext)@Nullable java.lang.StringpathForResourceOfTypeInDirectory(@Nullable java.lang.String name, @Nullable java.lang.String ext, @Nullable java.lang.String subpath)static @Nullable java.lang.StringpathForResourceOfTypeInDirectory_static(@Nullable java.lang.String name, @Nullable java.lang.String ext, @NotNull java.lang.String bundlePath)@Nullable java.lang.StringpathForResourceOfTypeInDirectoryForLocalization(@Nullable java.lang.String name, @Nullable java.lang.String ext, @Nullable java.lang.String subpath, @Nullable java.lang.String localizationName)@NotNull NSArray<java.lang.String>pathsForResourcesOfTypeInDirectory(@Nullable java.lang.String ext, @Nullable java.lang.String subpath)static @NotNull NSArray<java.lang.String>pathsForResourcesOfTypeInDirectory_static(@Nullable java.lang.String ext, @NotNull java.lang.String bundlePath)@NotNull NSArray<java.lang.String>pathsForResourcesOfTypeInDirectoryForLocalization(@Nullable java.lang.String ext, @Nullable java.lang.String subpath, @Nullable java.lang.String localizationName)@NotNull NSArray<java.lang.String>preferredLocalizations()a subset of this bundle's localizations, re-ordered into the preferred order for this process's current execution environment; the main bundle's preferred localizations indicate the language (of text) the user is most likely seeing in the UIstatic @NotNull NSArray<java.lang.String>preferredLocalizationsFromArray(@NotNull NSArray<java.lang.String> localizationsArray)static @NotNull NSArray<java.lang.String>preferredLocalizationsFromArrayForPreferences(@NotNull NSArray<java.lang.String> localizationsArray, @Nullable NSArray<java.lang.String> preferencesArray)booleanpreflightAndReturnError(@Nullable org.moe.natj.general.ptr.Ptr<NSError> error)API-Since: 2.0doublepreservationPriorityForTag(@NotNull java.lang.String tag)API-Since: 9.0@Nullable org.moe.natj.objc.ClassprincipalClass()@Nullable java.lang.StringprivateFrameworksPath()@Nullable NSURLprivateFrameworksURL()API-Since: 4.0static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)@Nullable java.lang.StringresourcePath()@Nullable NSURLresourceURL()API-Since: 4.0voidsetPreservationPriorityForTags(double priority, @NotNull NSSet<java.lang.String> tags)Set a preservation priority for tags that are included in this bundle for the On Demand Resources system.static voidsetVersion_static(long aVersion)@Nullable java.lang.StringsharedFrameworksPath()@Nullable NSURLsharedFrameworksURL()API-Since: 4.0@Nullable java.lang.StringsharedSupportPath()@Nullable NSURLsharedSupportURL()API-Since: 4.0static org.moe.natj.objc.Classsuperclass_static()booleanunload()@Nullable NSURLURLForAuxiliaryExecutable(@NotNull java.lang.String executableName)API-Since: 4.0@Nullable NSURLURLForResourceWithExtension(@Nullable java.lang.String name, @Nullable java.lang.String ext)API-Since: 4.0@Nullable NSURLURLForResourceWithExtensionSubdirectory(@Nullable java.lang.String name, @Nullable java.lang.String ext, @Nullable java.lang.String subpath)API-Since: 4.0static @Nullable NSURLURLForResourceWithExtensionSubdirectoryInBundleWithURL(@Nullable java.lang.String name, @Nullable java.lang.String ext, @Nullable java.lang.String subpath, @NotNull NSURL bundleURL)Methods for locating bundle resources.@Nullable NSURLURLForResourceWithExtensionSubdirectoryLocalization(@Nullable java.lang.String name, @Nullable java.lang.String ext, @Nullable java.lang.String subpath, @Nullable java.lang.String localizationName)API-Since: 4.0@Nullable NSArray<? extends NSURL>URLsForResourcesWithExtensionSubdirectory(@Nullable java.lang.String ext, @Nullable java.lang.String subpath)API-Since: 4.0static @Nullable NSArray<? extends NSURL>URLsForResourcesWithExtensionSubdirectoryInBundleWithURL(@Nullable java.lang.String ext, @Nullable java.lang.String subpath, @NotNull NSURL bundleURL)API-Since: 4.0@Nullable NSArray<? extends NSURL>URLsForResourcesWithExtensionSubdirectoryLocalization(@Nullable java.lang.String ext, @Nullable java.lang.String subpath, @Nullable java.lang.String localizationName)API-Since: 4.0static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
URLForResourceWithExtensionSubdirectoryInBundleWithURL
@Nullable public static @Nullable NSURL URLForResourceWithExtensionSubdirectoryInBundleWithURL(@Nullable @Nullable java.lang.String name, @Nullable @Nullable java.lang.String ext, @Nullable @Nullable java.lang.String subpath, @NotNull @NotNull NSURL bundleURL)
Methods for locating bundle resources. Instance methods locate resources in the bundle indicated by the receiver; class methods take an argument pointing to a bundle on disk. In the class methods, bundleURL is a URL pointing to the location of a bundle on disk, and may not be nil; bundlePath is the path equivalent of bundleURL, an absolute path pointing to the location of a bundle on disk. By contrast, subpath is a relative path to a subdirectory inside the relevant global or localized resource directory, and should be nil if the resource file in question is not in a subdirectory. Where appropriate, localizationName is the name of a .lproj directory in the bundle, minus the .lproj extension; passing nil for localizationName retrieves only global resources, whereas using a method without this argument retrieves both global and localized resources (using the standard localization search algorithm). API-Since: 4.0
-
URLsForResourcesWithExtensionSubdirectoryInBundleWithURL
@Nullable public static @Nullable NSArray<? extends NSURL> URLsForResourcesWithExtensionSubdirectoryInBundleWithURL(@Nullable @Nullable java.lang.String ext, @Nullable @Nullable java.lang.String subpath, @NotNull @NotNull NSURL bundleURL)
API-Since: 4.0
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static NSBundle alloc()
-
allocWithZone
public static NSBundle allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
bundleForClass
@NotNull public static @NotNull NSBundle bundleForClass(@NotNull @NotNull org.moe.natj.objc.Class aClass)
-
bundleWithIdentifier
@Nullable public static @Nullable NSBundle bundleWithIdentifier(@NotNull @NotNull java.lang.String identifier)
-
bundleWithPath
public static NSBundle bundleWithPath(@NotNull @NotNull java.lang.String path)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
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
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
mainBundle
@NotNull public static @NotNull NSBundle mainBundle()
Methods for creating or retrieving bundle instances.
-
new_objc
public static NSBundle new_objc()
-
pathForResourceOfTypeInDirectory_static
@Nullable public static @Nullable java.lang.String pathForResourceOfTypeInDirectory_static(@Nullable @Nullable java.lang.String name, @Nullable @Nullable java.lang.String ext, @NotNull @NotNull java.lang.String bundlePath)
-
pathsForResourcesOfTypeInDirectory_static
@NotNull public static @NotNull NSArray<java.lang.String> pathsForResourcesOfTypeInDirectory_static(@Nullable @Nullable java.lang.String ext, @NotNull @NotNull java.lang.String bundlePath)
-
preferredLocalizationsFromArray
@NotNull public static @NotNull NSArray<java.lang.String> preferredLocalizationsFromArray(@NotNull @NotNull NSArray<java.lang.String> localizationsArray)
-
preferredLocalizationsFromArrayForPreferences
@NotNull public static @NotNull NSArray<java.lang.String> preferredLocalizationsFromArrayForPreferences(@NotNull @NotNull NSArray<java.lang.String> localizationsArray, @Nullable @Nullable NSArray<java.lang.String> preferencesArray)
-
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)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
URLForAuxiliaryExecutable
@Nullable public @Nullable NSURL URLForAuxiliaryExecutable(@NotNull @NotNull java.lang.String executableName)
API-Since: 4.0
-
URLForResourceWithExtension
@Nullable public @Nullable NSURL URLForResourceWithExtension(@Nullable @Nullable java.lang.String name, @Nullable @Nullable java.lang.String ext)
API-Since: 4.0
-
URLForResourceWithExtensionSubdirectory
@Nullable public @Nullable NSURL URLForResourceWithExtensionSubdirectory(@Nullable @Nullable java.lang.String name, @Nullable @Nullable java.lang.String ext, @Nullable @Nullable java.lang.String subpath)
API-Since: 4.0
-
URLForResourceWithExtensionSubdirectoryLocalization
@Nullable public @Nullable NSURL URLForResourceWithExtensionSubdirectoryLocalization(@Nullable @Nullable java.lang.String name, @Nullable @Nullable java.lang.String ext, @Nullable @Nullable java.lang.String subpath, @Nullable @Nullable java.lang.String localizationName)
API-Since: 4.0
-
URLsForResourcesWithExtensionSubdirectory
@Nullable public @Nullable NSArray<? extends NSURL> URLsForResourcesWithExtensionSubdirectory(@Nullable @Nullable java.lang.String ext, @Nullable @Nullable java.lang.String subpath)
API-Since: 4.0
-
URLsForResourcesWithExtensionSubdirectoryLocalization
@Nullable public @Nullable NSArray<? extends NSURL> URLsForResourcesWithExtensionSubdirectoryLocalization(@Nullable @Nullable java.lang.String ext, @Nullable @Nullable java.lang.String subpath, @Nullable @Nullable java.lang.String localizationName)
API-Since: 4.0
-
appStoreReceiptURL
@Nullable public @Nullable NSURL appStoreReceiptURL()
API-Since: 7.0
-
builtInPlugInsPath
@Nullable public @Nullable java.lang.String builtInPlugInsPath()
-
builtInPlugInsURL
@Nullable public @Nullable NSURL builtInPlugInsURL()
API-Since: 4.0
-
bundleIdentifier
@Nullable public @Nullable java.lang.String bundleIdentifier()
Methods for obtaining various information about a bundle.
-
bundlePath
@NotNull public @NotNull java.lang.String bundlePath()
-
bundleURL
@NotNull public @NotNull NSURL bundleURL()
Methods for locating various components of a bundle. API-Since: 4.0
-
classNamed
@Nullable public @Nullable org.moe.natj.objc.Class classNamed(@NotNull @NotNull java.lang.String className)
-
developmentLocalization
@Nullable public @Nullable java.lang.String developmentLocalization()
-
executableArchitectures
@Nullable public @Nullable NSArray<? extends NSNumber> executableArchitectures()
API-Since: 2.0
-
executablePath
@Nullable public @Nullable java.lang.String executablePath()
-
executableURL
@Nullable public @Nullable NSURL executableURL()
API-Since: 4.0
-
infoDictionary
@Nullable public @Nullable NSDictionary<java.lang.String,?> infoDictionary()
-
initWithPath
public NSBundle initWithPath(@NotNull @NotNull java.lang.String path)
-
isLoaded
public boolean isLoaded()
-
load_objc
public boolean load_objc()
Methods for loading and unloading bundles.
-
loadAndReturnError
public boolean loadAndReturnError(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)API-Since: 2.0
-
loadNibNamedOwnerOptions
@Nullable public @Nullable NSArray<?> loadNibNamedOwnerOptions(@NotNull @NotNull java.lang.String name, @Nullable @Nullable java.lang.Object owner, @Nullable @Nullable NSDictionary<java.lang.String,?> options)
-
localizations
@NotNull public @NotNull NSArray<java.lang.String> localizations()
list of language names this bundle appears to be localized to
-
localizedInfoDictionary
@Nullable public @Nullable NSDictionary<java.lang.String,?> localizedInfoDictionary()
-
localizedStringForKeyValueTable
@NotNull public @NotNull java.lang.String localizedStringForKeyValueTable(@NotNull @NotNull java.lang.String key, @Nullable @Nullable java.lang.String value, @Nullable @Nullable java.lang.String tableName)Methods for retrieving localized strings.
-
objectForInfoDictionaryKey
@Nullable public @Nullable java.lang.Object objectForInfoDictionaryKey(@NotNull @NotNull java.lang.String key)
-
pathForAuxiliaryExecutable
@Nullable public @Nullable java.lang.String pathForAuxiliaryExecutable(@NotNull @NotNull java.lang.String executableName)
-
pathForResourceOfType
@Nullable public @Nullable java.lang.String pathForResourceOfType(@Nullable @Nullable java.lang.String name, @Nullable @Nullable java.lang.String ext)
-
pathForResourceOfTypeInDirectory
@Nullable public @Nullable java.lang.String pathForResourceOfTypeInDirectory(@Nullable @Nullable java.lang.String name, @Nullable @Nullable java.lang.String ext, @Nullable @Nullable java.lang.String subpath)
-
pathForResourceOfTypeInDirectoryForLocalization
@Nullable public @Nullable java.lang.String pathForResourceOfTypeInDirectoryForLocalization(@Nullable @Nullable java.lang.String name, @Nullable @Nullable java.lang.String ext, @Nullable @Nullable java.lang.String subpath, @Nullable @Nullable java.lang.String localizationName)
-
pathsForResourcesOfTypeInDirectory
@NotNull public @NotNull NSArray<java.lang.String> pathsForResourcesOfTypeInDirectory(@Nullable @Nullable java.lang.String ext, @Nullable @Nullable java.lang.String subpath)
-
pathsForResourcesOfTypeInDirectoryForLocalization
@NotNull public @NotNull NSArray<java.lang.String> pathsForResourcesOfTypeInDirectoryForLocalization(@Nullable @Nullable java.lang.String ext, @Nullable @Nullable java.lang.String subpath, @Nullable @Nullable java.lang.String localizationName)
-
preferredLocalizations
@NotNull public @NotNull NSArray<java.lang.String> preferredLocalizations()
a subset of this bundle's localizations, re-ordered into the preferred order for this process's current execution environment; the main bundle's preferred localizations indicate the language (of text) the user is most likely seeing in the UI
-
preflightAndReturnError
public boolean preflightAndReturnError(@Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)API-Since: 2.0
-
preservationPriorityForTag
public double preservationPriorityForTag(@NotNull @NotNull java.lang.String tag)API-Since: 9.0
-
principalClass
@Nullable public @Nullable org.moe.natj.objc.Class principalClass()
-
privateFrameworksPath
@Nullable public @Nullable java.lang.String privateFrameworksPath()
-
privateFrameworksURL
@Nullable public @Nullable NSURL privateFrameworksURL()
API-Since: 4.0
-
resourcePath
@Nullable public @Nullable java.lang.String resourcePath()
-
resourceURL
@Nullable public @Nullable NSURL resourceURL()
API-Since: 4.0
-
setPreservationPriorityForTags
public void setPreservationPriorityForTags(double priority, @NotNull @NotNull NSSet<java.lang.String> tags)Set a preservation priority for tags that are included in this bundle for the On Demand Resources system. Preservation priorities may be between 0.0 and 1.0, with higher values being the last choice for purging by the system. The exact meaning of this value is up to your application as it only has meaning within the set of tags your application uses. The default value is 0.0. This method will throw an exception if the receiver bundle has no on demand resource tag information. API-Since: 9.0
-
sharedFrameworksPath
@Nullable public @Nullable java.lang.String sharedFrameworksPath()
-
sharedFrameworksURL
@Nullable public @Nullable NSURL sharedFrameworksURL()
API-Since: 4.0
-
sharedSupportPath
@Nullable public @Nullable java.lang.String sharedSupportPath()
-
sharedSupportURL
@Nullable public @Nullable NSURL sharedSupportURL()
API-Since: 4.0
-
unload
public boolean unload()
-
localizedAttributedStringForKeyValueTable
@NotNull public @NotNull NSAttributedString localizedAttributedStringForKeyValueTable(@NotNull @NotNull java.lang.String key, @Nullable @Nullable java.lang.String value, @Nullable @Nullable java.lang.String tableName)
API-Since: 15.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-