This is from C# coding.

public byte[] GetCarPhoto(int carID)
//search for the location of the images store
string fname = "c:\\temp\\images\\" + carID.ToString() + ".jpg";
FileStream fs = new FileStream(fname, FileMode.Open);
BinaryReader reader = new BinaryReader(fs);
byte[] image = new byte[fs.Length];
image = reader.ReadBytes((int)fs.Length);
return (image);

how do i implement this kind of code into java??
i am trying to do a web service to get binary data(pictures from my local drive)