Java Code Examples for com.sun.xml.internal.stream.util.BufferAllocator#returnByteBuffer()
The following examples show how to use
com.sun.xml.internal.stream.util.BufferAllocator#returnByteBuffer() .
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: ASCIIReader.java From JDKSourceCode1.8 with MIT License | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 2
Source File: ASCIIReader.java From Bytecoder with Apache License 2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 3
Source File: UTF8Reader.java From Bytecoder with Apache License 2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 4
Source File: UCSReader.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 5
Source File: ASCIIReader.java From openjdk-jdk9 with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 6
Source File: UTF8Reader.java From openjdk-8-source with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 7
Source File: UCSReader.java From openjdk-jdk8u with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 8
Source File: UTF8Reader.java From openjdk-8 with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 9
Source File: UTF8Reader.java From openjdk-jdk8u with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 10
Source File: UCSReader.java From openjdk-jdk9 with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 11
Source File: UTF8Reader.java From jdk1.8-source-analysis with Apache License 2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 12
Source File: UCSReader.java From Bytecoder with Apache License 2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 13
Source File: UCSReader.java From jdk8u60 with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 14
Source File: UTF8Reader.java From openjdk-jdk9 with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 15
Source File: UTF8Reader.java From jdk8u60 with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 16
Source File: UCSReader.java From TencentKona-8 with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 17
Source File: ASCIIReader.java From hottub with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 18
Source File: UTF8Reader.java From TencentKona-8 with GNU General Public License v2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 19
Source File: UCSReader.java From jdk1.8-source-analysis with Apache License 2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }
Example 20
Source File: ASCIIReader.java From jdk1.8-source-analysis with Apache License 2.0 | 3 votes |
/** * Close the stream. Once a stream has been closed, further read(), * ready(), mark(), or reset() invocations will throw an IOException. * Closing a previously-closed stream, however, has no effect. * * @exception IOException If an I/O error occurs */ public void close() throws IOException { BufferAllocator ba = ThreadLocalBufferAllocator.getBufferAllocator(); ba.returnByteBuffer(fBuffer); fBuffer = null; fInputStream.close(); }