JFile (Apache ZooKeeper - Jute 3.7.0 API)
Date: 2021-03-17

org.apache.jute.compiler

## Class JFile

- java.lang.Object
- - org.apache.jute.compiler.JFile

-     public class JFile
      extends Object

  Container for the Hadoop Record DDL. The main components of the file are filename, list of included files, and records defined in that file.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JFile(String name, ArrayList<JFile> inclFiles, ArrayList<JRecord> recList)` Creates a new instance of JFile.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `genCode(String language, File outputDirectory)` Generate record code in given language.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JFile

          public JFile(String name,
                       ArrayList<JFile> inclFiles,
                       ArrayList<JRecord> recList)

      Creates a new instance of JFile.
      Parameters:
        `name` - possibly full pathname to the file
        `inclFiles` - included files (as JFile)
        `recList` - List of records defined within this file

  - ### Method Detail

    - #### genCode

          public void genCode(String language,
                              File outputDirectory)
                       throws IOException

      Generate record code in given language. Language should be all lowercase.
      Parameters:
        `outputDirectory` -
      Throws:
        `IOException`

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.