0
我有像java运行在“定义文本流(阅读器),将从空白清除”。我检查读者,而且只需要实现2种方法:Java阅读器实现
@Override
public int read(char[] cbuf, int off, int len) throws IOException {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
@Override
public void close() throws IOException {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
我有点困惑我应该怎么真正做到。据我所知cbuf
是目的地,所以我应该读什么?
你应该问问谁给了你这个练习。 – Keppil