org.apache.poi.hpbf.model

## Class MainContents

- java.lang.Object
- - org.apache.poi.hpbf.model.HPBFPart
  - - org.apache.poi.hpbf.model.MainContents

-     public final class MainContents
      extends HPBFPart

  The main Contents. Not yet understood

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MainContents(DirectoryNode baseDir)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `generateData()` Called just before writing out, to trigger the data byte array to be updated with the latest contents.

    - ### Methods inherited from class org.apache.poi.hpbf.model.HPBFPart

      `getData, getPath, setData, writeOut`

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

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

- - ### Constructor Detail

    - #### MainContents

          public MainContents(DirectoryNode baseDir)
                       throws java.io.IOException

      Throws:
        `java.io.IOException`

  - ### Method Detail

    - #### generateData

          protected void generateData()

      Description copied from class: `HPBFPart`
      Called just before writing out, to trigger the data byte array to be updated with the latest contents.
      Specified by:
        `generateData` in class `HPBFPart`

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.