Class SplitMode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SplitMode>
com.azure.ai.documentintelligence.models.SplitMode

public final class SplitMode extends com.azure.core.util.ExpandableStringEnum<SplitMode>
Document splitting mode.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final SplitMode
    Automatically split file into documents.
    static final SplitMode
    Treat the entire file as a single document.
    static final SplitMode
    Treat each page in the file as a separate document.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static SplitMode
    Creates or finds a SplitMode from its string representation.
    Gets known SplitMode values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • AUTO

      public static final SplitMode AUTO
      Automatically split file into documents.
    • NONE

      public static final SplitMode NONE
      Treat the entire file as a single document.
    • PER_PAGE

      public static final SplitMode PER_PAGE
      Treat each page in the file as a separate document.
  • Constructor Details

  • Method Details

    • fromString

      public static SplitMode fromString(String name)
      Creates or finds a SplitMode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SplitMode.
    • values

      public static Collection<SplitMode> values()
      Gets known SplitMode values.
      Returns:
      known SplitMode values.