arvind כתב:
> Hi,
> i want to read a normal text file kept outside my .jar file from my
[quoted text clipped - 7 lines]
>
> Thx in advanne.
java.io.File f = new File("YOUR FULL PATH HERE");
if (f.exists)
{
BufferedReader in = new BufferedReader(new FileReader(f));
}
for reading bytes instead of chars use FileInputStream istead of
FileReader or use any reader you want...
the BufferedReader class only encapsulate your reader and gives it
buffer capabilties and sopme sevrel methods...