Advertisement
Guest User

Untitled

a guest
Aug 20th, 2014
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. File file = new File(pathToFile);
  2. fileIn = new FileReader(pathToFile);
  3. BufferedReader br = new BufferedReader(fileIn);
  4. fileContents = new StringBuilder((int) file.length());
  5. String line;
  6. try {
  7. while ((line = br.readLine()) != null) {
  8. fileContents.append(line);
  9. fileContents.append("\n");
  10. } ...
  11.  
  12. ...
  13. return fileContents.toString();
  14.  
  15. String myStatement = "UPDATE ...... SET CONTENT = RAWTOHEX('" + myRetunedFileContentsString + "')...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement