|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectautohit.universe.UniverseUtils
Utilities for universe interaction. Universe clients are welcome to use them.
EPG - Rewrite - 13Sep03| Constructor Summary | |
UniverseUtils()
|
|
| Method Summary | |
static java.lang.String |
load2String(java.io.InputStream is)
Read from an InputStream into a String, using a default encoding. |
static java.lang.String |
load2String(java.io.InputStream is,
java.lang.String charSetName)
Read from an InputStream into a String, using a specific encoding. |
static void |
saveString(java.io.OutputStream os,
java.lang.String text)
Write from a String to an OutputStream, using a default encoding. |
static void |
saveString(java.io.OutputStream os,
java.lang.String text,
java.lang.String charSetName)
Write from a String to an OutputStream, using a specific encoding. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UniverseUtils()
| Method Detail |
public static java.lang.String load2String(java.io.InputStream is)
throws UniverseException
is - the InputStream
UniverseException
public static java.lang.String load2String(java.io.InputStream is,
java.lang.String charSetName)
throws UniverseException
is - the InputStreamcharSetName - is the charset to use for encoding the stream.
UniverseException
public static void saveString(java.io.OutputStream os,
java.lang.String text)
throws UniverseException
os - the OutputStreamtext - the string to save
UniverseException
public static void saveString(java.io.OutputStream os,
java.lang.String text,
java.lang.String charSetName)
throws UniverseException
os - the OutputStreamtext - the string to savecharSetName - is the charset to use for encoding the stream.
UniverseException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||