Lines Matching refs:io
35 public class StreamSimulator implements com.sun.star.io.XInputStream ,
36 com.sun.star.io.XOutputStream ,
37 com.sun.star.io.XSeekable
51 private com.sun.star.io.XInputStream m_xInStream ;
52 private com.sun.star.io.XOutputStream m_xOutStream ;
53 private com.sun.star.io.XSeekable m_xSeek ;
83 throws com.sun.star.io.NotConnectedException in StreamSimulator()
96 throw new com.sun.star.io.NotConnectedException( in StreamSimulator()
102 m_xSeek = (com.sun.star.io.XSeekable)UnoRuntime.queryInterface( in StreamSimulator()
103 com.sun.star.io.XSeekable.class, in StreamSimulator()
109 m_xSeek = (com.sun.star.io.XSeekable)UnoRuntime.queryInterface( in StreamSimulator()
110 com.sun.star.io.XSeekable.class, in StreamSimulator()
116 throw new com.sun.star.io.NotConnectedException( in StreamSimulator()
128 throws com.sun.star.io.NotConnectedException, in readBytes()
129 com.sun.star.io.BufferSizeExceededException, in readBytes()
130 com.sun.star.io.IOException in readBytes()
136 throw new com.sun.star.io.NotConnectedException("stream not open"); in readBytes()
144 catch (com.sun.star.io.NotConnectedException exConnect) { in readBytes()
146 catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { in readBytes()
148 catch (com.sun.star.io.IOException exIO ) { in readBytes()
160 throws com.sun.star.io.NotConnectedException, in readSomeBytes()
161 com.sun.star.io.BufferSizeExceededException , in readSomeBytes()
162 com.sun.star.io.IOException in readSomeBytes()
168 throw new com.sun.star.io.NotConnectedException("stream not open"); in readSomeBytes()
176 catch (com.sun.star.io.NotConnectedException exConnect) { in readSomeBytes()
178 catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { in readSomeBytes()
180 catch (com.sun.star.io.IOException exIO ) { in readSomeBytes()
193 throws com.sun.star.io.NotConnectedException, in skipBytes()
194 com.sun.star.io.BufferSizeExceededException , in skipBytes()
195 com.sun.star.io.IOException in skipBytes()
201 throw new com.sun.star.io.NotConnectedException("stream not open"); in skipBytes()
208 catch (com.sun.star.io.NotConnectedException exConnect) { in skipBytes()
210 catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { in skipBytes()
212 catch (com.sun.star.io.IOException exIO ) { in skipBytes()
221 public int available() throws com.sun.star.io.NotConnectedException, in available()
222 com.sun.star.io.IOException in available()
228 throw new com.sun.star.io.NotConnectedException("stream not open"); in available()
236 catch (com.sun.star.io.NotConnectedException exConnect) { in available()
238 catch (com.sun.star.io.IOException exIO ) { in available()
250 public void closeInput() throws com.sun.star.io.NotConnectedException, in closeInput()
251 com.sun.star.io.IOException in closeInput()
257 throw new com.sun.star.io.NotConnectedException("stream not open"); in closeInput()
264 catch (com.sun.star.io.NotConnectedException exConnect) { in closeInput()
266 catch (com.sun.star.io.IOException exIO ) { in closeInput()
282 throws com.sun.star.io.NotConnectedException, in writeBytes()
283 com.sun.star.io.BufferSizeExceededException , in writeBytes()
284 com.sun.star.io.IOException in writeBytes()
290 throw new com.sun.star.io.NotConnectedException("stream not open"); in writeBytes()
297 catch (com.sun.star.io.NotConnectedException exConnect) { in writeBytes()
299 catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { in writeBytes()
301 catch (com.sun.star.io.IOException exIO ) { in writeBytes()
312 public void flush() throws com.sun.star.io.NotConnectedException , in flush()
313 com.sun.star.io.BufferSizeExceededException , in flush()
314 com.sun.star.io.IOException in flush()
320 throw new com.sun.star.io.NotConnectedException("stream not open"); in flush()
327 catch (com.sun.star.io.NotConnectedException exConnect) { in flush()
329 catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { in flush()
331 catch (com.sun.star.io.IOException exIO ) { in flush()
341 public void closeOutput() throws com.sun.star.io.NotConnectedException , in closeOutput()
342 com.sun.star.io.BufferSizeExceededException, in closeOutput()
343 com.sun.star.io.IOException in closeOutput()
349 throw new com.sun.star.io.NotConnectedException("stream not open"); in closeOutput()
356 catch (com.sun.star.io.NotConnectedException exConnect) { in closeOutput()
358 catch (com.sun.star.io.BufferSizeExceededException exBuffer ) { in closeOutput()
360 catch (com.sun.star.io.IOException exIO ) { in closeOutput()
377 com.sun.star.io.IOException in seek()
389 throw new com.sun.star.io.IOException("stream not seekable"); in seek()
398 catch (com.sun.star.io.IOException exIO ) { in seek()
407 public long getPosition() throws com.sun.star.io.IOException in getPosition()
420 throw new com.sun.star.io.IOException("stream not seekable"); in getPosition()
428 catch (com.sun.star.io.IOException exIO ) { in getPosition()
440 public long getLength() throws com.sun.star.io.IOException in getLength()
453 throw new com.sun.star.io.IOException("stream not seekable"); in getLength()
461 catch (com.sun.star.io.IOException exIO ) { in getLength()