Package com.documentum.operations

# Interface IDfFormatRecognizer

public interface IDfFormatRecognizer
IDfFormatRecognizer scans a file's content to make suggestions on what repository formats might be appropriate for the file.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDefaultSuggestedFileFormat()`
  Returns the repository format name that should be considered the default choice for the file being recognized.
  `IDfList`
  `getSuggestedFileFormats()`
  Returns a list of format choices for a given file path.

- ## Method Details

  - ### getSuggestedFileFormats

    IDfList getSuggestedFileFormats() throws DfException
    Returns a list of format choices for a given file path. The list contains format names. The elements in the list are ordered most likely to least likely. The first element in the list should be considered the default format choice.
    Returns:
      list of suggested repository format names for the file being recognized.
    Throws:
      `DfException`

  - ### getDefaultSuggestedFileFormat

    String getDefaultSuggestedFileFormat() throws DfException
    Returns the repository format name that should be considered the default choice for the file being recognized.
    Returns:
      default suggested file format name.
    Throws:
      `DfException`