我在readUTF中獲取了以下代碼的超時值。任何想法爲什麼?readUTF超時
hc = (HttpConnection) Connector.open("http://twitter.com/statuses/user_timeline/" + username + ".json");
int rc = hc.getResponseCode();
if (rc != HttpConnection.HTTP_OK) {
throw new IOException("HTTP response code: " + rc);
}
DataInputStream dataInputStream = hc.openDataInputStream();
String list = dataInputStream.readUTF();
我需要的是DataInputStream的字符串表示形式 – 2010-04-21 14:16:04