Package net.handle.util
Class StreamUtil
java.lang.Object
net.handle.util.StreamUtil
Deprecated.
Replaced by net.cnri.util.StreamUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic char
Deprecated.Read from the specified reader until a non-whitespace character is read.static String
readString
(Reader in) Deprecated.This function reads in a string token assuming the first qoute (") has been read already.static String
readUndelimitedString
(Reader in, char firstChar) Deprecated.This function reads in a string given that the string is not delimited with a quote.static void
writeEncodedString
(Writer out, String str) Deprecated.static String
XencodeString
(String str) Deprecated.Escape all of the "special" characters in the given string and return the result.static void
XwriteString
(String str, Writer out) Deprecated.
-
Constructor Details
-
StreamUtil
public StreamUtil()Deprecated.
-
-
Method Details
-
getNonWhitespace
Deprecated.Read from the specified reader until a non-whitespace character is read. When a non-whitespace character is read, return it.- Throws:
IOException
-
readUndelimitedString
Deprecated.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:
IOException
-
readString
Deprecated.This function reads in a string token assuming the first qoute (") has been read already.- Throws:
StringEncodingException
IOException
-
XencodeString
Deprecated.Escape all of the "special" characters in the given string and return the result. -
writeEncodedString
Deprecated.- Throws:
IOException
-
XwriteString
Deprecated.- Throws:
IOException
-