Example
DataInputStream dis =
new DataInputStream (new FileInputStream ("c:\\logging.log"));
byte[] datainBytes = new byte[dis.available()];
dis.readFully(datainBytes);
dis.close();
String content = new String(datainBytes, 0, datainBytes.length);
System.out.println(content);
No comments:
Post a Comment
Note: only a member of this blog may post a comment.