DBCSVReader class documentation

Authors

Generated by multix

Software documentation for the DBCSVReader class

DBCSVReader : NSObject

Declared in:
DBCSVReader.h
Description forthcoming.

Instance Variables

Method summary

decodeOneLine: 

- (NSArray*) decodeOneLine: (NSString*)line;
Description forthcoming.

fieldNames 

- (NSArray*) fieldNames;
Returns an array with the field names. parseHeaders needs to be called once before.

initWithPath: byParsingHeaders: withLogger: 

- (id) initWithPath: (NSString*)filePath byParsingHeaders: (BOOL)parseHeader withLogger: (id<DBLoggerProtocol>)l;
Description forthcoming.

initWithPath: withLogger: 

- (id) initWithPath: (NSString*)filePath withLogger: (id<DBLoggerProtocol>)l;
Description forthcoming.

parseHeaders 

- (void) parseHeaders;
Extracts the field names from the first line. Needs to be (re)called after field separator and qualifier characters are set.

readDataSet 

- (NSArray*) readDataSet;
Description forthcoming.

readLine 

- (NSString*) readLine;
Description forthcoming.

setLogger: 

- (void) setLogger: (id<DBLoggerProtocol>)l;
Description forthcoming.

setQualifier: 

- (void) setQualifier: (NSString*)q;
Description forthcoming.

setSeparator: 

- (void) setSeparator: (NSString*)sep;
Description forthcoming.



Instance Variables for DBCSVReader Class

currentLine

@protected int currentLine;
Description forthcoming.

fieldNames

@protected NSArray* fieldNames;
Description forthcoming.

fieldTypes

@protected NSArray* fieldTypes;
Description forthcoming.

isQualified

@protected BOOL isQualified;
Description forthcoming.

linesArray

@protected NSArray* linesArray;
Description forthcoming.

logger

@protected id logger;
Description forthcoming.

newLine

@protected NSString* newLine;
Description forthcoming.

qualifier

@protected NSString* qualifier;
Description forthcoming.

separator

@protected NSString* separator;
Description forthcoming.