Java version 1.8.0_351
Usage:
All files should be placed in a single directory. Use command line in this directory and type:
javac Main.java
java Main [-sorting_mode] [-options] [output_file] [input_files]
- -s for sorting strings
- -i for sorting integers
- -a for sorting in ascending order
- -d for sorting in descending order
- Relative path to the .txt file, which content will be removed in case of it's existance
- Array of relative paths to the .txt files, that must exist and contain data that fits the sorting mode