java.io.ObjectInputStream.readUTF()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(8.3k)|赞(0)|评价(0)|浏览(172)

本文整理了Java中java.io.ObjectInputStream.readUTF()方法的一些代码示例,展示了ObjectInputStream.readUTF()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ObjectInputStream.readUTF()方法的具体详情如下:
包路径:java.io.ObjectInputStream
类名称:ObjectInputStream
方法名:readUTF

ObjectInputStream.readUTF介绍

[英]Reads a string encoded in DataInput from the source stream.
[中]从源流读取DataInput中编码的字符串。

代码示例

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

private void readObject(java.io.ObjectInputStream s) {
  try {
    String str = s.readUTF();
    org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init().string_to_object(str);
    org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate();
    _set_delegate(delegate);
  } catch (java.io.IOException e) {
  }
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

private void readObject(java.io.ObjectInputStream s) throws java.io.IOException {
  String str = s.readUTF();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init(args, props).string_to_object(str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate();
  _set_delegate(delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

private void readObject(java.io.ObjectInputStream s) throws java.io.IOException {
  String str = s.readUTF();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init(args, props).string_to_object(str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate();
  _set_delegate(delegate);
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

private void readObject(java.io.ObjectInputStream s) {
  try {
    String str = s.readUTF();
    org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init().string_to_object(str);
    org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate();
    _set_delegate(delegate);
  } catch (java.io.IOException e) {
  }
}

代码示例来源:origin: org.fudaa.business/dodico-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.fudaa.business/dodico-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.fudaa.business/dodico-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.fudaa.business/dodico-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

代码示例来源:origin: org.fudaa.business/dodico-corba

private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
{
  String str = s.readUTF ();
  String[] args = null;
  java.util.Properties props = null;
  org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
  org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
  _set_delegate (delegate);
}

相关文章

ObjectInputStream类方法