git.fiddlerwoaroof.com
Source/CMetadataImporter.h
0c532ca4
 //  CMetadataImporter.h
 //
 //  Lisp Metadata Importer
 //
 //  Created by John Wiseman on 9/1/05.
 //  Copyright 2005 John Wiseman.
 //
 //  Licensed under the MIT license--see the accompanying LICENSE.txt
 //  file.
 
 #import <Cocoa/Cocoa.h>
 
 @interface CMetadataImporter : NSObject {
0223e6a6
     
0c532ca4
 }
 
 // "Public" methods.
 
 - (BOOL)importFile:(NSString *)inPathToFile contentType:(NSString *)inContentType attributes:(NSMutableDictionary *)inAttributes;
 
 
 // "Private" methods.
 
 - (void)initStaticData;
6c6aefdd
 - (BOOL)addMatchesTo:(NSMutableDictionary *)attributes fromLine:(NSString *)line usingRE:(NSRegularExpression *)regex forKey:(NSString *)key;
0c532ca4
 - (NSString*)readContentsOfFile:(NSString*)path error:(NSError**)theError;
 
 @end