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 charDeprecated.Read from the specified reader until a non-whitespace character is read.static StringreadString(Reader in) Deprecated.This function reads in a string token assuming the first qoute (") has been read already.static StringreadUndelimitedString(Reader in, char firstChar) Deprecated.This function reads in a string given that the string is not delimited with a quote.static voidwriteEncodedString(Writer out, String str) Deprecated.static StringXencodeString(String str) Deprecated.Escape all of the "special" characters in the given string and return the result.static voidXwriteString(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:
StringEncodingExceptionIOException
-
XencodeString
Deprecated.Escape all of the "special" characters in the given string and return the result. -
writeEncodedString
Deprecated.- Throws:
IOException
-
XwriteString
Deprecated.- Throws:
IOException
-