本文整理了Java中org.omg.CORBA_2_3.portable.OutputStream.write_string()
方法的一些代码示例,展示了OutputStream.write_string()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。OutputStream.write_string()
方法的具体详情如下:
包路径:org.omg.CORBA_2_3.portable.OutputStream
类名称:OutputStream
方法名:write_string
暂无
代码示例来源:origin: wildfly/wildfly
/**
* Writes an exception to a CDR output stream.
*/
public void write(OutputStream out, Object excep) {
if (writeMethod != null) {
try {
writeMethod.invoke(null, new Object[]{out, excep});
} catch (IllegalAccessException e) {
throw IIOPLogger.ROOT_LOGGER.unexpectedException(e);
} catch (java.lang.reflect.InvocationTargetException e) {
throw IIOPLogger.ROOT_LOGGER.errorMarshaling(IDLEntity.class, e.getTargetException());
}
} else {
out.write_string(reposId);
out.write_value((Exception) excep, clz);
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void writeContents(OutputStream os)
{
os.write_string(URLs);
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void writeContents(OutputStream os)
{
os.write_string( URLs ) ;
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void writeContents(OutputStream os)
{
os.write_string(URLs);
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void write(OutputStream os)
{
os.write_string( typeId ) ;
EncapsulationUtility.writeIdentifiableSequence( this, os ) ;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void write(OutputStream os)
{
os.write_string(typeId);
EncapsulationUtility.writeIdentifiableSequence(this, os);
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void write(OutputStream os)
{
os.write_string(typeId);
EncapsulationUtility.writeIdentifiableSequence(this, os);
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void write(OutputStream os)
{
os.write_long(getNumLevels());
Iterator<String> iter = iterator();
while (iter.hasNext())
{
String str = iter.next();
os.write_string(str);
}
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void write( OutputStream os )
{
os.write_long( getNumLevels() ) ;
Iterator iter = iterator() ;
while (iter.hasNext()) {
String str = (String)(iter.next()) ;
os.write_string( str ) ;
}
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void write(OutputStream os)
{
os.write_long(getNumLevels());
Iterator<String> iter = iterator();
while (iter.hasNext())
{
String str = iter.next();
os.write_string(str);
}
}
}
代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk
/**
* Writes an exception to a CDR output stream.
*/
public void write(OutputStream out, Object excep) {
if (writeMethod != null) {
try {
writeMethod.invoke(null, new Object[]{out, excep});
} catch (IllegalAccessException e) {
throw IIOPLogger.ROOT_LOGGER.unexpectedException(e);
} catch (java.lang.reflect.InvocationTargetException e) {
throw IIOPLogger.ROOT_LOGGER.errorMarshaling(IDLEntity.class, e.getTargetException());
}
} else {
out.write_string(reposId);
out.write_value((Exception) excep, clz);
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void write(OutputStream os, Exception ex)
{
os.write_string(getId());
os.write_value(ex, getExceptionClass());
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void write(OutputStream os, Exception ex)
{
os.write_string(getId());
os.write_value(ex, getExceptionClass());
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void write( OutputStream os, Exception ex )
{
os.write_string( getId() ) ;
os.write_value( ex, getExceptionClass() ) ;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void write(OutputStream os)
{
os.write_string(getHost());
int port = getPort();
os.write_short(intToShort(port));
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void write( OutputStream os )
{
os.write_string( getHost() ) ;
int port = getPort() ;
os.write_short( intToShort( port ) ) ;
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void write(OutputStream os)
{
os.write_string(getHost());
int port = getPort();
os.write_short(intToShort(port));
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void writeTemplate(OutputStream os)
{
os.write_long(getMagic());
os.write_long(getSubcontractId());
os.write_long(getServerId());
os.write_string(getORBId());
getObjectAdapterId().write(os);
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void writeTemplate(OutputStream os)
{
os.write_long(getMagic());
os.write_long(getSubcontractId());
os.write_long(getServerId());
os.write_string(getORBId());
getObjectAdapterId().write(os);
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void writeTemplate(OutputStream os)
{
os.write_long( getMagic() ) ;
os.write_long( getSubcontractId() ) ;
os.write_long( getServerId() ) ;
os.write_string( getORBId() ) ;
getObjectAdapterId().write( os ) ;
}
}
内容来源于网络,如有侵权,请联系作者删除!