Package ome.services.util
Class IceUtil
- java.lang.Object
-
- ome.services.util.IceUtil
-
public class IceUtil extends java.lang.Object
Methods for working with Ice.
-
-
Constructor Summary
Constructors Constructor Description IceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Ice.InputStream
createSafeInputStream(Ice.Communicator ic, byte[] data)
Creates anInputStream
with the appropriate encoding.static Ice.OutputStream
createSafeOutputStream(Ice.Communicator ic)
Creates anOutputStream
with the appropriate encoding.
-
-
-
Method Detail
-
createSafeOutputStream
public static Ice.OutputStream createSafeOutputStream(Ice.Communicator ic)
Creates anOutputStream
with the appropriate encoding. This should only be used parsing objects/streams between Ice versions, for example when the data is or will be stored in the database. See ticket:11322
-
createSafeInputStream
public static Ice.InputStream createSafeInputStream(Ice.Communicator ic, byte[] data)
Creates anInputStream
with the appropriate encoding. This should only be used parsing objects/streams between Ice versions, for example when the data is or will be stored in the database. See ticket:11322
-
-