java - Regarding stitching of files -
I have a large file that has been returned in response to a query. I want the collected list to be given to the user To be shown. Before that when the file was small I would read them individually and add the result to one-third file, but reading still means a few seconds delay which users can not afford. Is there a way in which the file can be stitched and the overall result can be presented to the user?
Earlier I tried an order like "cat file 1 file2"> gt0> file 3 which is randomly in the file's file1 and file2 file3 but this command does not work when i < / P>
process p = runtime.gettimetime (). Exec ("cat file1 fiile2"> file3 "); BufferedReader BR = new BufferedReader (new InputStreamReader (p.getInputStream ());
The script you are using from the shell, your "aggregation" is actually adding the file.
If this is the case, then just do something like this Would be:
Comments
Post a Comment