测试程序:
File file = new File( "\\\\192.168.0.231\\C$\\1.txt ");
BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(file)));
String sLine = null;
while ((sLine = br.readLine()) != null) {
System.out.println(sLine);
}