com.google.template.soy
Class SoyMsgExtractor
java.lang.Object
com.google.template.soy.SoyMsgExtractor
public final class SoyMsgExtractor
- extends Object
Executable for extracting messages from a set of Soy files into an output messages file.
The command-line arguments should contain command-line flags and the list of paths to the
Soy files.
|
Method Summary |
static void |
main(String... args)
Extracts messages from a set of Soy files into an output messages file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(String... args)
throws IOException
- Extracts messages from a set of Soy files into an output messages file.
- Parameters:
args - Should contain command-line flags and the list of paths to the Soy files.
- Throws:
IOException - If there are problems reading the input files or writing the output file.
SoySyntaxException - If a syntax error is detected.