vector write/read

David M. Lloyd david.lloyd at redhat.com
Thu Jun 19 11:05:21 PDT 2008


On 06/19/2008 11:13 AM, David M. Lloyd wrote:
> On 06/19/2008 05:06 AM, Tigran Mkrtchyan wrote:
>> Hi,
>>
>> just want to ask why vector operations are not a part to nio?
> 
> They are, since 1.4: see 
> http://java.sun.com/javase/6/docs/api/java/nio/channels/ScatteringByteChannel.html 
> and 
> http://java.sun.com/javase/6/docs/api/java/nio/channels/GatheringByteChannel.html 
> for more info.

Ah, sorry I misunderstood your question.  You're talking about files, with 
multiple buffers having different *file* offsets... got it. ;-)

- DML



More information about the nio-dev mailing list