Class IceUtil


  • public class IceUtil
    extends java.lang.Object
    Methods for working with Ice.
    • Constructor Detail

      • IceUtil

        public IceUtil()
    • Method Detail

      • createSafeOutputStream

        public static Ice.OutputStream createSafeOutputStream​(Ice.Communicator ic)
        Creates an OutputStream 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 an InputStream 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