| Inherits from | |
|---|---|
| Declared in | NNTagToFileWriter.h |
Abstract class
This abstract class provides the interface for all TagToFile writers.
- (NSArray *)allTaggedObjectsAll objects tagged with this TagToFileWriter
Abstract method.
NNTagToFileWriter.h- (BOOL)writeTags:(NSArray *)tags toFile:(NNFile *)file Array of NNTags to write to file
File to write the tags to
YES if tags were written successfully, NO otherwise
Abstract method.
Writes all given tags to the file, overwriting any previous tags. Be careful to include any tags already present on the file!
NNTagToFileWriter.h- (NSArray *)readTagsFromFile:(NNFile *)file Dile to get tags for
Array of NNTags on file
Calls readTagsFromFiles:creationOptions with NNTagsCreationOptionFull by default. May be overwritten by subclass if appropriate.
NNTagToFileWriter.h- (NSArray *)readTagsFromFile:(NNFile *)file creationOptions:(NNTagsCreationOptions)options File to get tags for
Influence tag creation
Array of NNTags on file
Abstract method.
NNTagToFileWriter.h- (NSString *)queryStringForTag:(NNSimpleTag *)tag NNSimpleTag to create query for
Query String for NNSimpleTag
Abstract method.
NNTagToFileWriter.h- (NSString *)queryStringForTag:(NNSimpleTag *)tag negated:(BOOL)negated NNSimpleTag to create query for
YES if tag should be negated, NO otherwise
Query String for NNSimpleTag
Abstract method.
NNTagToFileWriter.h- (NSString *)spotlightMetadataFieldSpotlight metadata field the tags are stored in
Abstract method.
NNTagToFileWriter.h- (NSString *)scopeLimiterScope limiter in Spotlight query format
Abstract method.
NNTagToFileWriter.h- (NSArray *)extractTagNamesFromSpotlightMetadataFieldValue:(id)tagsSpotlightMetadataFieldValue Value of the spotlight field where the tag metadata is stored
NSArray of NSStrings with the names of the tags
Abstract method.
NNTagToFileWriter.hLast updated: 2010-5-13