/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/ |
AbstractContentHandler.java | 22 import java.io.IOException;
51 public void body(BodyDescriptor bd, InputStream is) throws IOException {
75 public void epilogue(InputStream is) throws IOException {
87 public void preamble(InputStream is) throws IOException {
111 public void raw(InputStream is) throws IOException {
|
ContentHandler.java | 22 import java.io.IOException;
126 * @throws IOException should be thrown on I/O errors.
128 void preamble(InputStream is) throws IOException;
135 * @throws IOException should be thrown on I/O errors.
137 void epilogue(InputStream is) throws IOException;
164 * @throws IOException should be thrown on I/O errors.
166 void body(BodyDescriptor bd, InputStream is) throws IOException;
173 * @throws IOException should be thrown on I/O errors.
176 void raw(InputStream is) throws IOException;
|
CloseShieldInputStream.java | 23 import java.io.IOException;
50 public int read() throws IOException {
58 public int available() throws IOException {
67 public void close() throws IOException {
74 public synchronized void reset() throws IOException {
99 public long skip(long n) throws IOException {
107 public int read(byte b[]) throws IOException {
115 public int read(byte b[], int off, int len) throws IOException {
123 * @throws IOException if the underlying InputStream is null
125 private void checkIfClosed() throws IOException {
[all...] |
/packages/apps/Nfc/src/com/android/nfc/nxp/ |
NativeLlcpServiceSocket.java | 22 import java.io.IOException; 40 public LlcpSocket accept() throws IOException { 42 if (socket == null) throw new IOException(); 48 public void close() throws IOException { 50 throw new IOException();
|
NativeLlcpSocket.java | 21 import java.io.IOException; 37 public void connectToSap(int sap) throws IOException { 39 throw new IOException(); 45 public void connectToService(String serviceName) throws IOException { 47 throw new IOException(); 53 public void close() throws IOException { 55 throw new IOException(); 61 public void send(byte[] data) throws IOException { 63 throw new IOException(); 69 public int receive(byte[] recvBuff) throws IOException { [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
MockDatagramChannel.java | 20 import java.io.IOException; 41 public DatagramChannel connect(SocketAddress arg0) throws IOException { 45 public DatagramChannel disconnect() throws IOException { 49 public SocketAddress receive(ByteBuffer arg0) throws IOException { 53 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException { 57 public int read(ByteBuffer arg0) throws IOException { 61 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { 65 public int write(ByteBuffer arg0) throws IOException { 69 public long write(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { 73 protected void implCloseSelectableChannel() throws IOException { [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ |
ServerSocketFactoryTest.java | 24 import java.io.IOException; 47 } catch (IOException e) { 64 } catch (IOException e) { 69 } catch (IOException e) { 74 } catch (IOException e) { 80 public ServerSocket createServerSocket(int port) throws IOException, UnknownHostException { 81 throw new IOException(); 86 throws IOException, UnknownHostException { 87 throw new IOException(); 91 public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException { [all...] |
/libcore/luni/src/main/java/java/io/ |
Reader.java | 73 * @throws IOException 76 public abstract void close() throws IOException; 84 * This default implementation simply throws an {@code IOException}; 92 * @throws IOException 97 public void mark(int readLimit) throws IOException { 98 throw new IOException(); 119 * @throws IOException 122 public int read() throws IOException { 141 * @throws IOException 144 public int read(char[] buf) throws IOException { [all...] |
FilterReader.java | 51 * @throws IOException 55 public void close() throws IOException { 72 * @throws IOException 78 public synchronized void mark(int readlimit) throws IOException { 108 * @throws IOException 112 public int read() throws IOException { 133 * @throws IOException 137 public int read(char[] buffer, int offset, int count) throws IOException { 151 * @throws IOException 155 public boolean ready() throws IOException { [all...] |
PushbackInputStream.java | 85 public int available() throws IOException { 87 throw new IOException(); 96 * @throws IOException 100 public void close() throws IOException { 131 * @throws IOException 136 public int read() throws IOException { 138 throw new IOException(); 169 * @throws IOException 176 public int read(byte[] buffer, int offset, int length) throws IOException { 206 private IOException streamClosed() throws IOException [all...] |
PipedWriter.java | 50 * @throws IOException 53 public PipedWriter(PipedReader destination) throws IOException { 63 * @throws IOException 67 public void close() throws IOException { 82 * @throws IOException 86 public void connect(PipedReader reader) throws IOException { 92 throw new IOException("Pipe already connected"); 104 * @throws IOException 108 public void flush() throws IOException { 111 throw new IOException("Pipe is closed") [all...] |
Writer.java | 71 * @throws IOException 74 public abstract void close() throws IOException; 80 * @throws IOException 83 public abstract void flush() throws IOException; 90 * @throws IOException 93 public void write(char[] buf) throws IOException { 110 * @throws IOException 113 public abstract void write(char[] buf, int offset, int count) throws IOException; 121 * @throws IOException 124 public void write(int oneChar) throws IOException { [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
SocketChannel.java | 20 import java.io.IOException; 77 * @throws IOException 80 public static SocketChannel open() throws IOException { 104 * @throws IOException 107 public static SocketChannel open(SocketAddress address) throws IOException { 187 * @throws IOException 190 public abstract boolean connect(SocketAddress address) throws IOException; 221 * @throws IOException 224 public abstract boolean finishConnect() throws IOException; 252 * @throws IOException [all...] |
/external/guava/src/com/google/common/io/ |
CountingInputStream.java | 20 import java.io.IOException; 48 @Override public int read() throws IOException { 56 @Override public int read(byte[] b, int off, int len) throws IOException { 64 @Override public long skip(long n) throws IOException { 76 @Override public void reset() throws IOException { 78 throw new IOException("Mark not supported"); 81 throw new IOException("Mark not set");
|
/libcore/luni/src/main/java/libcore/net/http/ |
RetryableOutputStream.java | 20 import java.io.IOException; 43 @Override public synchronized void close() throws IOException { 49 throw new IOException("content-length promised " 55 throws IOException { 59 throw new IOException("exceeded content-length limit of " + limit + " bytes"); 64 public synchronized int contentLength() throws IOException { 69 public void writeToSocket(OutputStream socketOut) throws IOException {
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleInputStream.java | 3 import java.io.IOException; 48 public void close() throws IOException { 50 throw new IOException("Exception thrown for testing purpose."); 55 public int available() throws IOException { 57 throw new IOException("Exception thrown for testing purpose."); 63 public int read() throws IOException { 65 throw new IOException("Exception thrown for testing purpose.");
|
Support_ASimpleReader.java | 3 import java.io.IOException; 41 public void close() throws IOException { 43 throw new IOException("Exception thrown for testing purpose."); 48 public boolean ready() throws IOException { 50 throw new IOException("Exception thrown for testing purpose."); 56 public int read(char[] dest, int offset, int count) throws IOException { 58 throw new IOException("Exception thrown for testing purpose.");
|
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/util/ |
PartialInputStream.java | 24 import java.io.IOException;
29 public PartialInputStream(InputStream inputStream, long offset, long length) throws IOException {
35 public int available() throws IOException {
39 public int read() throws IOException {
46 public int read(byte b[]) throws IOException {
50 public int read(byte b[], int off, int len) throws IOException {
55 public long skip(long n) throws IOException {
|
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedOutputStream.java | 34 import java.io.IOException; 69 * @throws IOException 72 throws IOException { 83 * @throws IOException 86 throws IOException { 93 * @throws IOException 95 protected void flushCache() throws IOException { 110 * @throws IOException 112 protected void flushCacheWithAppend(byte bufferToAppend[], int off, int len) throws IOException { 120 protected void writeClosingChunk() throws IOException { [all...] |
/external/proguard/src/proguard/classfile/io/ |
RuntimeDataOutput.java | 50 catch (IOException ex) 63 catch (IOException ex) 76 catch (IOException ex) 89 catch (IOException ex) 102 catch (IOException ex) 115 catch (IOException ex) 128 catch (IOException ex) 141 catch (IOException ex) 154 catch (IOException ex) 167 catch (IOException ex [all...] |
/external/apache-http/src/org/apache/http/conn/ |
BasicManagedEntity.java | 33 import java.io.IOException; 98 public InputStream getContent() throws IOException { 106 public void consumeContent() throws IOException { 125 public void writeTo(final OutputStream outstream) throws IOException { 133 throws IOException { 141 throws IOException { 155 throws IOException { 173 throws IOException { 191 throws IOException { 205 * @throws IOException in case of an IO problem [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
MessageLite.java | 36 import java.io.IOException; 88 void writeTo(CodedOutputStream output) throws IOException; 127 void writeTo(OutputStream output) throws IOException; 137 void writeDelimitedTo(OutputStream output) throws IOException; 210 * {@link InvalidProtocolBufferException} (an {@code IOException}) 221 Builder mergeFrom(CodedInputStream input) throws IOException; 231 throws IOException; 303 Builder mergeFrom(InputStream input) throws IOException; 312 throws IOException; 326 throws IOException; [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLInputStream.java | 20 import java.io.IOException; 33 public abstract int available() throws IOException; 46 public abstract int read() throws IOException; 51 public int readUint8() throws IOException { 58 public int readUint16() throws IOException { 65 public int readUint24() throws IOException { 72 public long readUint32() throws IOException { 80 public long readUint64() throws IOException { 90 * @throws IOException if read operation could not be finished. 92 public byte[] read(int length) throws IOException { [all...] |
/packages/apps/Email/emailcommon/src/org/apache/commons/io/output/ |
ThresholdingOutputStream.java | 19 import java.io.IOException;
89 * @exception IOException if an error occurs.
91 public void write(int b) throws IOException
105 * @exception IOException if an error occurs.
107 public void write(byte b[]) throws IOException
123 * @exception IOException if an error occurs.
125 public void write(byte b[], int off, int len) throws IOException
137 * @exception IOException if an error occurs.
139 public void flush() throws IOException
149 * @exception IOException if an error occurs. [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
DatagramSocketImplTest.java | 21 import java.io.IOException; 79 protected byte getTTL() throws IOException { 84 protected int getTimeToLive() throws IOException { 89 protected void join(InetAddress addr) throws IOException { 95 throws IOException { 100 protected void leave(InetAddress addr) throws IOException { 106 throws IOException { 111 protected int peek(InetAddress sender) throws IOException { 116 protected int peekData(DatagramPacket pack) throws IOException { 121 protected void receive(DatagramPacket pack) throws IOException { [all...] |