00001 /* 00002 ********************************************************************** 00003 * Copyright (C) 1997-1999, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ********************************************************************** 00006 * FILE NAME : unistrm.h 00007 * 00008 * Modification History: 00009 * 00010 * Date Name Description 00011 * 02/05/97 aliu Added UnicodeString streamIn and streamOut methods. 00012 * 03/26/97 aliu Added indexOf(UChar,). 00013 * 04/24/97 aliu Numerous changes per code review. 00014 * 05/06/97 helena Added isBogus(). 00015 ***************************************************************************************** 00016 */ 00017 #ifndef UNISTRM_H 00018 #define UNISTRM_H 00019 00020 #include "filestrm.h" 00021 #include "umemstrm.h" 00022 #include "unicode/unistr.h" 00023 00024 00025 class U_COMMON_API UnicodeStringStreamer 00026 { 00027 public: 00028 static void streamIn(UnicodeString* string, FileStream* is); 00029 static void streamOut(const UnicodeString* string, FileStream* os); 00030 static void streamIn(UnicodeString* string, UMemoryStream* is); 00031 static void streamOut(const UnicodeString* string, UMemoryStream* os); 00032 }; 00033 00034 00035 #endif 00036 00037 00038