Class NSMetadataQuery

  • All Implemented Interfaces:
    NSObject

    public class NSMetadataQuery
    extends NSObject
    • Constructor Detail

      • NSMetadataQuery

        protected NSMetadataQuery​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • 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()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • 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)
      • new_objc

        public static java.lang.Object new_objc()
      • 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()
      • disableUpdates

        public void disableUpdates()
        these nest
      • enableUpdates

        public void enableUpdates()
      • groupingAttributes

        public NSArray<java.lang.String> groupingAttributes()
      • indexOfResult

        public long indexOfResult​(java.lang.Object result)
      • isGathering

        public boolean isGathering()
      • isStarted

        public boolean isStarted()
      • isStopped

        public boolean isStopped()
      • notificationBatchingInterval

        public double notificationBatchingInterval()
      • operationQueue

        public NSOperationQueue operationQueue()
        items can be a mixture of NSMetadataItem, NSURL objects (file URLs only) and/or string paths; the getter returns the same mixture as was set
      • resultAtIndex

        public java.lang.Object resultAtIndex​(long idx)
      • resultCount

        public long resultCount()
        Results are NSMetadataItems, or whatever the delegate replaces that with
      • results

        public NSArray<?> results()
        this is for K-V Bindings, and causes side-effects on the query
      • searchItems

        public NSArray<?> searchItems()
        scopes is an NSArray of NSURL objects (file URLs only) and/or string paths and/or the special string constants below, which specifies the locations to which the search is limited; an empty array means no limits, which is the default state.
      • searchScopes

        public NSArray<?> searchScopes()
      • setGroupingAttributes

        public void setGroupingAttributes​(NSArray<java.lang.String> value)
      • setNotificationBatchingInterval

        public void setNotificationBatchingInterval​(double value)
      • setOperationQueue

        public void setOperationQueue​(NSOperationQueue value)
        items can be a mixture of NSMetadataItem, NSURL objects (file URLs only) and/or string paths; the getter returns the same mixture as was set
      • setPredicate

        public void setPredicate​(NSPredicate value)
      • setSearchItems

        public void setSearchItems​(NSArray<?> value)
        scopes is an NSArray of NSURL objects (file URLs only) and/or string paths and/or the special string constants below, which specifies the locations to which the search is limited; an empty array means no limits, which is the default state.
      • setSearchScopes

        public void setSearchScopes​(NSArray<?> value)
      • setValueListAttributes

        public void setValueListAttributes​(NSArray<java.lang.String> value)
      • startQuery

        public boolean startQuery()
        optional operation queue for notifications and delegate method calls
      • stopQuery

        public void stopQuery()
      • valueListAttributes

        public NSArray<java.lang.String> valueListAttributes()
      • valueOfAttributeForResultAtIndex

        public java.lang.Object valueOfAttributeForResultAtIndex​(java.lang.String attrName,
                                                                 long idx)