org.omg.CORBA.portable.InputStream.read_wstring()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(5.6k)|赞(0)|评价(0)|浏览(120)

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

InputStream.read_wstring介绍

暂无

代码示例

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

/**
 * Helper method for correcting the Kestrel bug 4367783 (dealing with larger than 8-bit chars). The old behavior is
 * preserved in orbutil.IIOPInputStream_1_3 in order to interoperate with our legacy ORBs.
 */
protected String internalReadUTF(org.omg.CORBA.portable.InputStream stream)
{
  return stream.read_wstring();
}

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

public static java.lang.String read (final org.omg.CORBA.portable.InputStream _in)
{
  java.lang.String _result;
  _result=_in.read_wstring();
  return _result;
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement

/**
 * Helper method for correcting the Kestrel bug 4367783 (dealing
 * with larger than 8-bit chars).  The old behavior is preserved
 * in orbutil.IIOPInputStream_1_3 in order to interoperate with
 * our legacy ORBs.
 */
protected String internalReadUTF(org.omg.CORBA.portable.InputStream stream)
{
  return stream.read_wstring();
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

/**
 * Helper method for correcting the Kestrel bug 4367783 (dealing
 * with larger than 8-bit chars).  The old behavior is preserved
 * in orbutil.IIOPInputStream_1_3 in order to interoperate with
 * our legacy ORBs.
 */
protected String internalReadUTF(org.omg.CORBA.portable.InputStream stream)
{
  return stream.read_wstring();
}

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

public java.io.Serializable
read_value(org.omg.CORBA.portable.InputStream in)
{
  String _ob_v;
  _ob_v = in.read_wstring();
  return (java.io.Serializable)_ob_v;
}

代码示例来源:origin: jboss/jboss-javaee-specs

/**
 * Helper method for correcting the Kestrel bug 4367783 (dealing with larger than 8-bit chars). The old behavior is
 * preserved in orbutil.IIOPInputStream_1_3 in order to interoperate with our legacy ORBs.
 */
protected String internalReadUTF(org.omg.CORBA.portable.InputStream stream)
{
  return stream.read_wstring();
}

代码示例来源:origin: org.jacorb/jacorb

/**
 * Operation read_wstring
 */
public java.lang.String read_wstring()
{
  return delegate.read_wstring();
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public java.io.Serializable read_value (org.omg.CORBA.portable.InputStream istream)
 {
 String tmp;
 tmp = istream.read_wstring ();
 return (java.io.Serializable) tmp;
 }

代码示例来源:origin: org.jacorb/jacorb-omgapi

public static java.lang.String read (final org.omg.CORBA.portable.InputStream in)
{
  java.lang.String result;
  result=in.read_wstring();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final java.lang.String s)

代码示例来源:origin: JacORB/JacORB

public static java.lang.String read (final org.omg.CORBA.portable.InputStream in)
{
  java.lang.String result;
  result=in.read_wstring();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final java.lang.String s)

代码示例来源:origin: org.jppf/jppf-jmxremote_optional

@Override
public String read_wstring() {
 return in.read_wstring();
}

代码示例来源:origin: apache/cxf

public String readWString() throws CorbaBindingException {
  try {
    return stream.read_wstring();
  } catch (org.omg.CORBA.MARSHAL ex) {
    LOG.log(Level.SEVERE, "CorbaObjectReader: could not read wide string");
    throw new CorbaBindingException("CorbaObjectReader: readWString MARSHAL exception", ex);
  }
}

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

public static String[]
read(org.omg.CORBA.portable.InputStream in)
{
  String[] _ob_v;
  int len0 = in.read_ulong();
  _ob_v = new String[len0];
  for(int i0 = 0; i0 < len0; i0++)
    _ob_v[i0] = in.read_wstring();
  return _ob_v;
}

代码示例来源:origin: org.jacorb/jacorb-omgapi

public static java.lang.String[] read (final org.omg.CORBA.portable.InputStream _in)
{
  java.lang.String[] _result;
  int _l_result43 = _in.read_long();
  try
  {
     int x = _in.available();
     if ( x > 0 && _l_result43 > x )
      {
        throw new org.omg.CORBA.MARSHAL("Sequence length too large. Only " + x + " available and trying to assign " + _l_result43);
      }
  }
  catch (java.io.IOException e)
  {
  }
  _result = new java.lang.String[_l_result43];
  for (int i=0;i<_result.length;i++)
  {
    _result[i]=_in.read_wstring();
  }
  return _result;
}

代码示例来源:origin: org.jacorb/jacorb

public String extract_wstring()
{
  checkExtract (TCKind._tk_wstring, "Cannot extract wstring");
  checkNull();
  if (value instanceof String)
  {
    return (String) value;
  }
  else if (value instanceof StringHolder)
  {
    return ((StringHolder) value).value;
  }
  else if (value instanceof CDROutputStream)
  {
    return create_input_stream().read_wstring();
  }
  else
  {
    throw new INTERNAL("Encountered unexpected type of value: " +
      value.getClass());
  }
}

代码示例来源:origin: JacORB/JacORB

public static java.lang.String[] read (final org.omg.CORBA.portable.InputStream _in)
{
  java.lang.String[] _result;
  int _l_result43 = _in.read_long();
  try
  {
     int x = _in.available();
     if ( x > 0 && _l_result43 > x )
      {
        throw new org.omg.CORBA.MARSHAL("Sequence length too large. Only " + x + " available and trying to assign " + _l_result43);
      }
  }
  catch (java.io.IOException e)
  {
  }
  _result = new java.lang.String[_l_result43];
  for (int i=0;i<_result.length;i++)
  {
    _result[i]=_in.read_wstring();
  }
  return _result;
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

org.omg.CORBA.portable.OutputStream $out = _request ("get_wstring", true);
  $in = _invoke ($out);
  String $result = $in.read_wstring ();
  return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

org.omg.CORBA.portable.OutputStream $out = _request ("get_wstring", true);
  $in = _invoke ($out);
  String $result = $in.read_wstring ();
  return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

o = s.read_wstring();
break;

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

o = s.read_wstring();
break;

相关文章