com.googlecode.htmlcompressor

## Class CmdLineCompressor

- java.lang.Object
- - com.googlecode.htmlcompressor.CmdLineCompressor

-     public class CmdLineCompressor
      extends Object

  Wrapper for HTML and XML compressor classes that allows using them from a command line.

  Usage: `java -jar htmlcompressor.jar [options] [input]`

  To view a list of all available parameters please run with `-?` option:

  `java -jar htmlcompressor.jar -?`

  Author:
    Sergiy Kovalchuk

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CmdLineCompressor(String[] args)` Instantiates a new cmd line compressor.

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)` The main method.
    `void` | `process()` Process.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CmdLineCompressor

          public CmdLineCompressor(String[] args)

      Instantiates a new cmd line compressor.
      Parameters:
        `args` - the args

  - ### Method Detail

    - #### main

          public static void main(String[] args)

      The main method.
      Parameters:
        `args` - the arguments

    - #### process

          public void process()

      Process.

Copyright © 2009–2020 Jeremy Landis. All rights reserved.