Import more static methods from TeX in TeXPortal project
- command line argument parser
- file decompress
- file name utilities (remove/replace extension)
- toString for collections of objects (array/list/map)
- stream reading/writing/...
Code refactoring and clean up
Implementing universal decompressor/unarchiver.
Revise downloader and file decompression
Replace 'getContentLengthLong' by 'getContentLength'
because the former is ONLY available in JRE 1.7 which leads to
blocking when invoked (somehow ClassNotFoundException is not thrown).
Add debug code to SpectreGet.
Add method to print a Set<?>
Add method readTextFile(File) to read content of text file to String
Make untarToFileSystem and pipeIOStream throws InterruptedException
when the running thread is interrupted.
Add method to dump an InputStream to a file
Revamp of the collection printing system
Rename top level package from 'anhoavu' to 'lah'
Add method to get file extension from file name
Adding option to delete incomplete file in streamToFile
Add progress listener for extraction
Check null listener in Digger.untar
Adding some general interfaces
Notify the listener about the start of download in SpectreGet as well
Refine exception report in SpectreGet
More descriptive Exception message in SpectreGet
Always push Exception to caller in Digger's untar method
Add method to write a string to a file (like echo)
Modify streamToFile to include option to append existing file instead of overwrite
Redesign and reimplement TimedProcess to consume inputs, outputs, errors to prevent blocking and support redirection
(Redirections is supported in JDK 1.7 API but unfortunately we cannot use it!)
Implement static method to create a background thread that pipes streams
Enhance TimeProcess with stdout redirection and streams closing