public final class Main extends Object
Constructor and Description |
---|
Main(PrintWriter outWriter,
PrintWriter errWriter,
InputStream inStream) |
Modifier and Type | Method and Description |
---|---|
int |
format(String... args)
The main entry point for the formatter, with some number of file names to format.
|
static void |
main(String... args)
The main method for the formatter, with some number of file names to format.
|
public Main(PrintWriter outWriter, PrintWriter errWriter, InputStream inStream)
public static void main(String... args)
args
- the command-line argumentspublic int format(String... args) throws UsageException
args
- the command-line argumentsUsageException
Copyright © 2015–2016 Google Inc.. All rights reserved.