• R/O
  • SSH
  • HTTPS

matereal: 提交


Commit MetaInfo

修订版187 (tree)
时间2010-09-22 23:19:31
作者arc

Log Message

added readInt() method.

更改概述

差异

--- connector/trunk/src/jp/digitalmuseum/connector/ConnectorAbstractImpl.java (revision 186)
+++ connector/trunk/src/jp/digitalmuseum/connector/ConnectorAbstractImpl.java (revision 187)
@@ -129,4 +129,7 @@
129129 return true;
130130 }
131131
132+ public int readInt() throws IOException {
133+ return getInputStream().read();
134+ }
132135 }
--- connector/trunk/src/jp/digitalmuseum/connector/Connector.java (revision 186)
+++ connector/trunk/src/jp/digitalmuseum/connector/Connector.java (revision 187)
@@ -36,6 +36,7 @@
3636 */
3737 package jp.digitalmuseum.connector;
3838
39+import java.io.IOException;
3940 import java.io.InputStream;
4041
4142
@@ -50,4 +51,5 @@
5051 public boolean write(byte b);
5152 public boolean write(byte[] b);
5253 public InputStream getInputStream();
54+ public int readInt() throws IOException;
5355 }
Show on old repository browser