/**
   * Gets the file.
   *
   * @param field the field
   * @param file the file
   * @param fileExt the file ext
   * @return the file
   * @throws IOException Signals that an I/O exception has occurred.
   */
  public static Field getFile(String field, File file, String fileExt) throws IOException {

    SolrFileExtractor fileExtractor = new SolrFileExtractor();

    return fileExtractor.getFile(field, file, fileExt);
  }
  /**
   * Gets the file.
   *
   * @param field the field
   * @param is the is
   * @param fileExt the file ext
   * @return the file
   */
  public static Field getFile(String field, InputStream is, String fileExt) {
    SolrFileExtractor fileExtractor = new SolrFileExtractor();

    return fileExtractor.getFile(field, is, fileExt);
  }
  /**
   * Gets the file.
   *
   * @param field the field
   * @param bytes the bytes
   * @param fileExt the file ext
   * @return the file
   */
  public static Field getFile(String field, byte[] bytes, String fileExt) {
    SolrFileExtractor fileExtractor = new SolrFileExtractor();

    return fileExtractor.getFile(field, bytes, fileExt);
  }