diff options
Diffstat (limited to 'Source/SPExporter.m')
-rw-r--r-- | Source/SPExporter.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPExporter.m b/Source/SPExporter.m index adfe0545..ff90853c 100644 --- a/Source/SPExporter.m +++ b/Source/SPExporter.m @@ -119,6 +119,16 @@ [[[self exportOutputFile] exportFileHandle] setCompressionFormat:(compress) ? [self exportOutputCompressionFormat] : SPNoCompression]; } +- (void)writeString:(NSString *)input +{ + [[self exportOutputFile] writeData:[input dataUsingEncoding:[self exportOutputEncoding]]]; +} + +- (void)writeUTF8String:(NSString *)input +{ + [[self exportOutputFile] writeData:[input dataUsingEncoding:NSUTF8StringEncoding]]; +} + /** * Get rid of the export data. */ |