Package net.handle.util
Class StreamUtil
- java.lang.Object
- 
- net.handle.util.StreamUtil
 
- 
 @Deprecated public abstract class StreamUtil extends java.lang.ObjectDeprecated.Replaced by net.cnri.util.StreamUtil
- 
- 
Constructor SummaryConstructors Constructor Description StreamUtil()Deprecated.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static chargetNonWhitespace(java.io.Reader in)Deprecated.Read from the specified reader until a non-whitespace character is read.static java.lang.StringreadString(java.io.Reader in)Deprecated.This function reads in a string token assuming the first qoute (") has been read already.static java.lang.StringreadUndelimitedString(java.io.Reader in, char firstChar)Deprecated.This function reads in a string given that the string is not delimited with a quote.static voidwriteEncodedString(java.io.Writer out, java.lang.String str)Deprecated.static java.lang.StringXencodeString(java.lang.String str)Deprecated.Escape all of the "special" characters in the given string and return the result.static voidXwriteString(java.lang.String str, java.io.Writer out)Deprecated.
 
- 
- 
- 
Method Detail- 
getNonWhitespacepublic static char getNonWhitespace(java.io.Reader in) throws java.io.IOExceptionDeprecated.Read from the specified reader until a non-whitespace character is read. When a non-whitespace character is read, return it.- Throws:
- java.io.IOException
 
 - 
readUndelimitedStringpublic static java.lang.String readUndelimitedString(java.io.Reader in, char firstChar) throws java.io.IOExceptionDeprecated.This function reads in a string given that the string is not delimited with a quote. It will read in anything up to but not including anything that might delimit a word.- Throws:
- java.io.IOException
 
 - 
readStringpublic static java.lang.String readString(java.io.Reader in) throws StringEncodingException, java.io.IOExceptionDeprecated.This function reads in a string token assuming the first qoute (") has been read already.- Throws:
- StringEncodingException
- java.io.IOException
 
 - 
XencodeStringpublic static java.lang.String XencodeString(java.lang.String str) Deprecated.Escape all of the "special" characters in the given string and return the result.
 - 
writeEncodedStringpublic static void writeEncodedString(java.io.Writer out, java.lang.String str) throws java.io.IOExceptionDeprecated.- Throws:
- java.io.IOException
 
 - 
XwriteStringpublic static void XwriteString(java.lang.String str, java.io.Writer out) throws java.io.IOExceptionDeprecated.- Throws:
- java.io.IOException
 
 
- 
 
-