public class SerializeHyphPattern extends Object
Serialize hyphenation patterns.
For all xml files in the source directory a pattern file is built in the target directory.
This class may be called from the ant build file in a java task.
Constructor and Description |
---|
SerializeHyphPattern() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Entry point for ant java task
|
void |
serializeDir(File sourceDir,
File targetDir)
Compile all xml files in sourceDir, and write output hyp files in targetDir
|
void |
setErrorDump(boolean errorDump)
Controls the amount of error information dumped.
|
public void setErrorDump(boolean errorDump)
errorDump
- True if more error info should be providedpublic void serializeDir(File sourceDir, File targetDir)
sourceDir
- Directory with pattern xml filestargetDir
- Directory to which compiled pattern hyp files should be writtenpublic static void main(String[] args)
args
- sourceDir, targetDirCopyright © 2025 Apache Software Foundation. All rights reserved.