Java Code Examples for org.omg.CORBA.portable.InputStream#read_char()
The following examples show how to use
org.omg.CORBA.portable.InputStream#read_char() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CorbaObjectWriterTest.java From cxf with Apache License 2.0 | 5 votes |
@Test public void testWriteChar() { OutputStream oStream = orb.create_output_stream(); CorbaObjectWriter writer = new CorbaObjectWriter(oStream); Character charValue = new Character('c'); writer.writeChar(charValue); InputStream iStream = oStream.create_input_stream(); char c = iStream.read_char(); assertTrue(c == charValue.charValue()); }
Example 2
Source File: CorbaObjectWriterTest.java From cxf with Apache License 2.0 | 5 votes |
@Test public void testWriteWChar() { OutputStream oStream = orb.create_output_stream(); CorbaObjectWriter writer = new CorbaObjectWriter(oStream); Character wcharValue = new Character('w'); writer.writeChar(wcharValue); InputStream iStream = oStream.create_input_stream(); char wc = iStream.read_char(); assertTrue(wc == wcharValue.charValue()); }
Example 3
Source File: CharHolder.java From jdk1.8-source-analysis with Apache License 2.0 | 2 votes |
/** * Reads from <code>input</code> and initalizes the value in * this <code>CharHolder</code> object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }
Example 4
Source File: CharHolder.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Reads from <code>input</code> and initalizes the value in * this <code>CharHolder</code> object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }
Example 5
Source File: CharHolder.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Reads from <code>input</code> and initalizes the value in * this <code>CharHolder</code> object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }
Example 6
Source File: CharHolder.java From JDKSourceCode1.8 with MIT License | 2 votes |
/** * Reads from <code>input</code> and initalizes the value in * this <code>CharHolder</code> object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }
Example 7
Source File: CharHolder.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Reads from <code>input</code> and initalizes the value in * this <code>CharHolder</code> object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }
Example 8
Source File: CharHolder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Reads from <code>input</code> and initalizes the value in * this <code>CharHolder</code> object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }
Example 9
Source File: CharHolder.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Reads from {@code input} and initalizes the value in * this {@code CharHolder} object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }
Example 10
Source File: CharHolder.java From Java8CN with Apache License 2.0 | 2 votes |
/** * Reads from <code>input</code> and initalizes the value in * this <code>CharHolder</code> object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }
Example 11
Source File: CharHolder.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Reads from <code>input</code> and initalizes the value in * this <code>CharHolder</code> object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }
Example 12
Source File: CharHolder.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Reads from <code>input</code> and initalizes the value in * this <code>CharHolder</code> object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }
Example 13
Source File: CharHolder.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Reads from <code>input</code> and initalizes the value in * this <code>CharHolder</code> object * with the unmarshalled data. * * @param input the InputStream containing CDR formatted data from the wire */ public void _read(InputStream input) { value = input.read_char(); }