]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/samples/xml2txt/DOMPrintFormatTarget.cpp
ICU-6.2.4.tar.gz
[apple/icu.git] / icuSources / samples / xml2txt / DOMPrintFormatTarget.cpp
diff --git a/icuSources/samples/xml2txt/DOMPrintFormatTarget.cpp b/icuSources/samples/xml2txt/DOMPrintFormatTarget.cpp
deleted file mode 100644 (file)
index 9bd214f..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/******************************************************************************
- * Copyright (C) 2002, International Business Machines Corporation and
- * others. All Rights Reserved.
- ******************************************************************************/
-#include "DOMPrintFormatTarget.h"
-
-DOMPrintFormatTarget::DOMPrintFormatTarget() {
-
-};
-
-DOMPrintFormatTarget::DOMPrintFormatTarget(char* fileName) {
-       this->fileName = fileName;
-}
-
-DOMPrintFormatTarget::~DOMPrintFormatTarget() {};
-
-void DOMPrintFormatTarget :: writeChars(const   XMLByte* const  toWrite,
-                   const   unsigned int    count,
-                   XMLFormatter * const formatter)
-{
-       ofstream ofile( fileName, ios::app);
-       ofile.write((char *) toWrite, (int) count);
-};