org.apache.lucene.codecs.lucene40

## Class Lucene40CompoundFormat

- java.lang.Object
- - org.apache.lucene.codecs.CompoundFormat
  - - org.apache.lucene.codecs.lucene40.Lucene40CompoundFormat

- Deprecated.
  only for reading old 4.x segments

      @Deprecated
      public final class Lucene40CompoundFormat
      extends CompoundFormat

  Lucene 4.0 compound file format

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Lucene40CompoundFormat()` Deprecated. Sole constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Directory` | `getCompoundReader(Directory dir, SegmentInfo si, IOContext context)` Deprecated.
    `void` | `write(Directory dir, SegmentInfo si, IOContext context)` Deprecated.

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

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

- - ### Constructor Detail

    - #### Lucene40CompoundFormat

          public Lucene40CompoundFormat()

      Deprecated.
      Sole constructor.

  - ### Method Detail

    - #### getCompoundReader

          public Directory getCompoundReader(Directory dir,
                                    SegmentInfo si,
                                    IOContext context)
                                      throws IOException

      Deprecated.
      Specified by:
        `getCompoundReader` in class `CompoundFormat`
      Throws:
        `IOException`

    - #### write

          public void write(Directory dir,
                   SegmentInfo si,
                   IOContext context)
                     throws IOException

      Deprecated.
      Specified by:
        `write` in class `CompoundFormat`
      Throws:
        `IOException`

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.