Class Media.Format

java.lang.Object
org.springframework.ai.model.Media.Format
Enclosing class:
Media

public static class Media.Format extends Object
Common media formats.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.springframework.util.MimeType
    Public constant mime type for text/csv.
    static final org.springframework.util.MimeType
    Public constant mime type for application/msword.
    static final org.springframework.util.MimeType
    Public constant mime type for application/vnd.openxmlformats-officedocument.wordprocessingml.document.
    static final org.springframework.util.MimeType
    Public constant mime type for text/html.
    static final org.springframework.util.MimeType
    Public constant mime type for text/markdown.
    static final org.springframework.util.MimeType
    Public constant mime type for application/pdf.
    static final org.springframework.util.MimeType
    Public constant mime type for text/plain.
    static final org.springframework.util.MimeType
    Public constant mime type for application/vnd.ms-excel.
    static final org.springframework.util.MimeType
    Public constant mime type for application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.
    static final org.springframework.util.MimeType
    Public constant mime type for image/gif.
    static final org.springframework.util.MimeType
    Public constant mime type for image/jpeg.
    static final org.springframework.util.MimeType
    Public constant mime type for image/png.
    static final org.springframework.util.MimeType
    Public constant mime type for image/webp.
    static final org.springframework.util.MimeType
    Public constant mime type for video/x-flv.
    static final org.springframework.util.MimeType
    Public constant mime type for video/x-matros.
    static final org.springframework.util.MimeType
    Public constant mime type for video/quicktime.
    static final org.springframework.util.MimeType
    Public constant mime type for video/mp4.
    static final org.springframework.util.MimeType
    Public constant mime type for video/mpeg.
    static final org.springframework.util.MimeType
    Public constant mime type for video/mpeg.
    static final org.springframework.util.MimeType
    Public constant mime type for video/3gpp.
    static final org.springframework.util.MimeType
    Public constant mime type for video/webm.
    static final org.springframework.util.MimeType
    Public constant mime type for video/x-ms-wmv.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DOC_PDF

      public static final org.springframework.util.MimeType DOC_PDF
      Public constant mime type for application/pdf.
    • DOC_CSV

      public static final org.springframework.util.MimeType DOC_CSV
      Public constant mime type for text/csv.
    • DOC_DOC

      public static final org.springframework.util.MimeType DOC_DOC
      Public constant mime type for application/msword.
    • DOC_DOCX

      public static final org.springframework.util.MimeType DOC_DOCX
      Public constant mime type for application/vnd.openxmlformats-officedocument.wordprocessingml.document.
    • DOC_XLS

      public static final org.springframework.util.MimeType DOC_XLS
      Public constant mime type for application/vnd.ms-excel.
    • DOC_XLSX

      public static final org.springframework.util.MimeType DOC_XLSX
      Public constant mime type for application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.
    • DOC_HTML

      public static final org.springframework.util.MimeType DOC_HTML
      Public constant mime type for text/html.
    • DOC_TXT

      public static final org.springframework.util.MimeType DOC_TXT
      Public constant mime type for text/plain.
    • DOC_MD

      public static final org.springframework.util.MimeType DOC_MD
      Public constant mime type for text/markdown.
    • VIDEO_MKV

      public static final org.springframework.util.MimeType VIDEO_MKV
      Public constant mime type for video/x-matros.
    • VIDEO_MOV

      public static final org.springframework.util.MimeType VIDEO_MOV
      Public constant mime type for video/quicktime.
    • VIDEO_MP4

      public static final org.springframework.util.MimeType VIDEO_MP4
      Public constant mime type for video/mp4.
    • VIDEO_WEBM

      public static final org.springframework.util.MimeType VIDEO_WEBM
      Public constant mime type for video/webm.
    • VIDEO_FLV

      public static final org.springframework.util.MimeType VIDEO_FLV
      Public constant mime type for video/x-flv.
    • VIDEO_MPEG

      public static final org.springframework.util.MimeType VIDEO_MPEG
      Public constant mime type for video/mpeg.
    • VIDEO_MPG

      public static final org.springframework.util.MimeType VIDEO_MPG
      Public constant mime type for video/mpeg.
    • VIDEO_WMV

      public static final org.springframework.util.MimeType VIDEO_WMV
      Public constant mime type for video/x-ms-wmv.
    • VIDEO_THREE_GP

      public static final org.springframework.util.MimeType VIDEO_THREE_GP
      Public constant mime type for video/3gpp.
    • IMAGE_PNG

      public static final org.springframework.util.MimeType IMAGE_PNG
      Public constant mime type for image/png.
    • IMAGE_JPEG

      public static final org.springframework.util.MimeType IMAGE_JPEG
      Public constant mime type for image/jpeg.
    • IMAGE_GIF

      public static final org.springframework.util.MimeType IMAGE_GIF
      Public constant mime type for image/gif.
    • IMAGE_WEBP

      public static final org.springframework.util.MimeType IMAGE_WEBP
      Public constant mime type for image/webp.
  • Constructor Details

    • Format

      public Format()