Question1> can anyone plz explain me what actually this line means :
FileChannel channel = input.getChanne l();
here what is channel is it a refeerence or what of class FileChannel type?
then what actually input.getChanne l() is , i mean what is input here ?
Question2> can anyone plz tell me what actually this line of code is doing ??
MappedByteBuffe r buffer = channel.map(Fil eChannel.MapMod e.READ_ONLY,0,f ileLength);
i want to no why we r using the dot operator here in channel.map(Fil eChannel.MapMod e.READ_ONLY....
FileChannel channel = input.getChanne l();
here what is channel is it a refeerence or what of class FileChannel type?
then what actually input.getChanne l() is , i mean what is input here ?
Question2> can anyone plz tell me what actually this line of code is doing ??
MappedByteBuffe r buffer = channel.map(Fil eChannel.MapMod e.READ_ONLY,0,f ileLength);
i want to no why we r using the dot operator here in channel.map(Fil eChannel.MapMod e.READ_ONLY....
Comment