Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.hyphenation
Class SerializeHyphPattern

    java.lang.Object
      org.apache.fop.hyphenation.SerializeHyphPattern

public class SerializeHyphPattern
extends java.lang.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 Summary
`SerializeHyphPattern()`

Method Summary
`static void` | `main(java.lang.String[] args)` Entry point for ant java task
`void` | `serializeDir(java.io.File sourceDir, java.io.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.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SerializeHyphPattern

    public SerializeHyphPattern()

Method Detail

### setErrorDump

    public void setErrorDump(boolean errorDump)

  Controls the amount of error information dumped.

  Parameters:
    `errorDump` - True if more error info should be provided

### serializeDir

    public void serializeDir(java.io.File sourceDir,
                             java.io.File targetDir)

  Compile all xml files in sourceDir, and write output hyp files in targetDir

  Parameters:
    `sourceDir` - Directory with pattern xml files
    `targetDir` - Directory to which compiled pattern hyp files should be written

### main

    public static void main(java.lang.String[] args)

  Entry point for ant java task

  Parameters:
    `args` - sourceDir, targetDir

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.