com.moneydance.util
Class StreamUtil

java.lang.Object
  extended by com.moneydance.util.StreamUtil

public class StreamUtil
extends java.lang.Object

Utility functions used to ease the parsing and encoding of StreamObjects $Author: sreilly $ $Date: 2001/10/05 14:09:10 $ $Revision: 1.2 $ ------------------------------------------------------------------------ $Log: StreamUtil.java,v $ Revision 1.2 2001/10/05 14:09:10 sreilly made it so that backslash escaped quote characters don't get decoded with the quote Revision 1.1 2001/01/31 19:31:16 sreilly Moved *everything* to com.moneydance package, and rearranged a couple of the packages in the process. Revision 1.7 2000/07/17 03:44:52 sreilly minor bug-fixes and changes Revision 1.6 2000/06/23 13:01:11 sreilly added account-specific items for the check# popup. this will be configurable on a per-account basis by the user. online bill payment creation works. fixed stupid bug with the goingAway() behavior of TxnEditor save-as file dialog now remembers last directory Revision 1.5 1999/02/22 01:48:20 sreilly made QIF import more robust, fixed subtotal by account report, and *lots* of other stuff Revision 1.4 1999/02/12 21:22:49 sreilly added copyright and removed references to artistic license Revision 1.3 1999/01/26 06:55:14 sreilly updated TODO and tried to find OS/2 open-file-on-startup bug Revision 1.2 1998/12/09 03:01:34 sreilly Reminders mostly implemented and working, including homepage summary of reminders. Revision 1.1.1.1 1998/08/13 13:58:57 sreilly Initial Moneydance checkin


Constructor Summary
StreamUtil()
           
 
Method Summary
static java.lang.String encodeString(java.lang.String str)
           
static char getNonWhitespace(java.io.Reader in)
           
static java.lang.String readString(java.io.Reader in)
           
static java.lang.String readUndelimitedString(java.io.Reader in, char ch)
           
static void writeString(java.lang.String str, java.io.Writer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamUtil

public StreamUtil()
Method Detail

getNonWhitespace

public static char getNonWhitespace(java.io.Reader in)
                             throws java.io.IOException
Throws:
java.io.IOException

readUndelimitedString

public static java.lang.String readUndelimitedString(java.io.Reader in,
                                                     char ch)
                                              throws java.io.IOException
Throws:
java.io.IOException

readString

public static java.lang.String readString(java.io.Reader in)
                                   throws StringEncodingException,
                                          java.io.IOException
Throws:
StringEncodingException
java.io.IOException

encodeString

public static java.lang.String encodeString(java.lang.String str)

writeString

public static void writeString(java.lang.String str,
                               java.io.Writer out)
                        throws java.io.IOException
Throws:
java.io.IOException