Package org.springframework.ai.model
Class Media.Format
java.lang.Object
org.springframework.ai.model.Media.Format
- Enclosing class:
- Media
Common media formats.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.springframework.util.MimeType
Public constant mime type fortext/csv
.static final org.springframework.util.MimeType
Public constant mime type forapplication/msword
.static final org.springframework.util.MimeType
Public constant mime type forapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
.static final org.springframework.util.MimeType
Public constant mime type fortext/html
.static final org.springframework.util.MimeType
Public constant mime type fortext/markdown
.static final org.springframework.util.MimeType
Public constant mime type forapplication/pdf
.static final org.springframework.util.MimeType
Public constant mime type fortext/plain
.static final org.springframework.util.MimeType
Public constant mime type forapplication/vnd.ms-excel
.static final org.springframework.util.MimeType
Public constant mime type forapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.static final org.springframework.util.MimeType
Public constant mime type forimage/gif
.static final org.springframework.util.MimeType
Public constant mime type forimage/jpeg
.static final org.springframework.util.MimeType
Public constant mime type forimage/png
.static final org.springframework.util.MimeType
Public constant mime type forimage/webp
.static final org.springframework.util.MimeType
Public constant mime type forvideo/x-flv
.static final org.springframework.util.MimeType
Public constant mime type forvideo/x-matros
.static final org.springframework.util.MimeType
Public constant mime type forvideo/quicktime
.static final org.springframework.util.MimeType
Public constant mime type forvideo/mp4
.static final org.springframework.util.MimeType
Public constant mime type forvideo/mpeg
.static final org.springframework.util.MimeType
Public constant mime type forvideo/mpeg
.static final org.springframework.util.MimeType
Public constant mime type forvideo/3gpp
.static final org.springframework.util.MimeType
Public constant mime type forvideo/webm
.static final org.springframework.util.MimeType
Public constant mime type forvideo/x-ms-wmv
. -
Constructor Summary
-
Method Summary
-
Field Details
-
DOC_PDF
public static final org.springframework.util.MimeType DOC_PDFPublic constant mime type forapplication/pdf
. -
DOC_CSV
public static final org.springframework.util.MimeType DOC_CSVPublic constant mime type fortext/csv
. -
DOC_DOC
public static final org.springframework.util.MimeType DOC_DOCPublic constant mime type forapplication/msword
. -
DOC_DOCX
public static final org.springframework.util.MimeType DOC_DOCXPublic constant mime type forapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
. -
DOC_XLS
public static final org.springframework.util.MimeType DOC_XLSPublic constant mime type forapplication/vnd.ms-excel
. -
DOC_XLSX
public static final org.springframework.util.MimeType DOC_XLSXPublic constant mime type forapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
. -
DOC_HTML
public static final org.springframework.util.MimeType DOC_HTMLPublic constant mime type fortext/html
. -
DOC_TXT
public static final org.springframework.util.MimeType DOC_TXTPublic constant mime type fortext/plain
. -
DOC_MD
public static final org.springframework.util.MimeType DOC_MDPublic constant mime type fortext/markdown
. -
VIDEO_MKV
public static final org.springframework.util.MimeType VIDEO_MKVPublic constant mime type forvideo/x-matros
. -
VIDEO_MOV
public static final org.springframework.util.MimeType VIDEO_MOVPublic constant mime type forvideo/quicktime
. -
VIDEO_MP4
public static final org.springframework.util.MimeType VIDEO_MP4Public constant mime type forvideo/mp4
. -
VIDEO_WEBM
public static final org.springframework.util.MimeType VIDEO_WEBMPublic constant mime type forvideo/webm
. -
VIDEO_FLV
public static final org.springframework.util.MimeType VIDEO_FLVPublic constant mime type forvideo/x-flv
. -
VIDEO_MPEG
public static final org.springframework.util.MimeType VIDEO_MPEGPublic constant mime type forvideo/mpeg
. -
VIDEO_MPG
public static final org.springframework.util.MimeType VIDEO_MPGPublic constant mime type forvideo/mpeg
. -
VIDEO_WMV
public static final org.springframework.util.MimeType VIDEO_WMVPublic constant mime type forvideo/x-ms-wmv
. -
VIDEO_THREE_GP
public static final org.springframework.util.MimeType VIDEO_THREE_GPPublic constant mime type forvideo/3gpp
. -
IMAGE_PNG
public static final org.springframework.util.MimeType IMAGE_PNGPublic constant mime type forimage/png
. -
IMAGE_JPEG
public static final org.springframework.util.MimeType IMAGE_JPEGPublic constant mime type forimage/jpeg
. -
IMAGE_GIF
public static final org.springframework.util.MimeType IMAGE_GIFPublic constant mime type forimage/gif
. -
IMAGE_WEBP
public static final org.springframework.util.MimeType IMAGE_WEBPPublic constant mime type forimage/webp
.
-
-
Constructor Details
-
Format
public Format()
-