Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. public class EZConfig {
  2.  
  3. public static void main(String[] args) throws IOException{
  4.  
  5. BufferedReader br = new BufferedReader(new FileReader("C:/Users/colles-a-l-kxc127/Dropbox/PhD/Java/MetabolitesCompiled/src/commonNames"));
  6.  
  7. try {
  8.  
  9. StringBuilder sb = new StringBuilder();
  10. String line = br.readLine();
  11.  
  12. while (line != null) {
  13.  
  14. if(line.contains("[0-99][E|Z]")){
  15.  
  16. System.out.println(line + " TRUE");
  17. }
  18. else{
  19. System.out.println(line);
  20. }
  21.  
  22. line = br.readLine();
  23. }
  24.  
  25. } finally {
  26. br.close();
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement