This is the compession level contants class. It contains constants that can be used in the level setting.
This is the BEST_COMPRESSION constant. When it's used the compression class will compress the data as much as possible. This will take more time than the other options.
This is the DEFAULT_COMPRESSION constant. When it's used the compression class will combine speed with amount of compression to create the highest possible speed/compression ratio.
This is the NO_COMPRESSION constant. When it's used the compression class won't compress anything.
This is the BEST_SPEED constant. When it's used the compression class will compress with as fast as possible, meaning the compression won't be as good.