Reading Input Stream and splitting based on a delimiter
问题 I have a scenario where I will get a large data as an input stream, which is going to have a delimiter and split it and process them. I want to process , this completely in memory , if its possible. Right now I am achieving this with the help of scanner as shown below , in the code: package chap5_questions; import java.util.Scanner; public class paintjob_chp5 { import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; public class ScannerTest { public static