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

## com.basilv.envgen
Class MainframeFileFormatTransform

    java.lang.Object
      com.basilv.envgen.MainframeFileFormatTransform

All Implemented Interfaces:
  TemplateModel, TemplateTransformModel

    public class MainframeFileFormatTransform

extends Object
implements TemplateTransformModel

Template to format input into a form acceptable for mainframes. The formatting changes that are made are:

- Convert tabs to spaces (4 spaces per tab)
- Trim whitespace from end of line
- Fail with error message if a line is longer than 75 characters

Field Summary

Fields inherited from interface freemarker.template.TemplateModel
`NOTHING`

Constructor Summary
`MainframeFileFormatTransform()` Must have a default no-arg constructor.

Method Summary
`Writer` | `getWriter(Writer out, Map args)`

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

Constructor Detail

### MainframeFileFormatTransform

    public MainframeFileFormatTransform()

  Must have a default no-arg constructor.

Method Detail

### getWriter

    public Writer getWriter(Writer out,
                            Map args)
                     throws TemplateModelException

  Specified by:
    `getWriter` in interface `TemplateTransformModel`
  Throws:
    `TemplateModelException`

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

EnvGen available from www.basilv.com/psd/software Copyright © 2007 Basil Vandegriend. All Rights Reserved.