AsynchronousCharChannel

Alan Bateman Alan.Bateman at Sun.COM
Thu Jul 2 12:25:52 PDT 2009


Gili wrote:
> :
>         I'm also looking for a way to use a more generic argument for
> readLine(). Right now I reference StringBuilder explicitly because:
An alternative is to simply return the line as a String, as in:
  Future<String> result = channel.readLine();

-Alan.






More information about the nio-discuss mailing list