Package com.collibra.dgc.core.api.model.file

# Interface FileInfo

All Superinterfaces:
  `Serializable`

public interface FileInfo extends Serializable
Represents information about the file

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getContentType()`
  Returns the MIME type of the file (e.g.
  `String`
  `getExtension()`
  Returns the extension of the file.
  `UUID`
  `getId()`
  Returns the UUID of the file.
  `String`
  `getName()`
  Returns the name of the file.
  `Long`
  `getSize()`
  Returns the size of the file.

- ## Method Details

  - ### getId

    UUID getId()
    Returns the UUID of the file.
    Returns:
      the UUID of the file

  - ### getName

    String getName()
    Returns the name of the file.
    Returns:
      the name of the file

  - ### getContentType

    String getContentType()
    Returns the MIME type of the file (e.g. "text/html", "text/csv").
    Returns:
      the MIME type of the file

  - ### getExtension

    String getExtension()
    Returns the extension of the file.
    Returns:
      the extension of the file

  - ### getSize

    Long getSize()
    Returns the size of the file.
    Returns:
      the size of the file