Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class EZConfig {
- public static void main(String[] args) throws IOException{
- BufferedReader br = new BufferedReader(new FileReader("C:/Users/colles-a-l-kxc127/Dropbox/PhD/Java/MetabolitesCompiled/src/commonNames"));
- try {
- StringBuilder sb = new StringBuilder();
- String line = br.readLine();
- while (line != null) {
- if(line.contains("[0-99][E|Z]")){
- System.out.println(line + " TRUE");
- }
- else{
- System.out.println(line);
- }
- line = br.readLine();
- }
- } finally {
- br.close();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement