---
schema_version: "1"
id: dfc18805713b41e922973f4edb85ac86fad69a7a93004dd62f7b48a47b750c6f
title: Mime (dw::module::Mime)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.8/dw-mime.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.8/dw-mime
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1d114401adb9e015525362323a781e29e03a2f1475a93dd22511b0c2b661363f
description: MuleSoft Documentation Site
release: "2.8"
latest: false
---
# Mime (dw::module::Mime)

このモジュールには MIME タイプを処理するためのヘルパー関数が含まれます。

このモジュールを使用するには、DataWeave コードにインポートする必要があります。その方法として、たとえば、行 ​`import * from dw::module::Mime`​ を DataWeave スクリプトのヘッダーに追加します。

_DataWeave バージョン 2.7.0 で導入されました。_

## [](#関数)関数

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-mime-functions-fromstring" class="xref page">fromString</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">MIME タイプの文字列値表現を ​<code>MimeType</code>​ に変換します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-mime-functions-ishandledby" class="xref page">isHandledBy</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">指定された ​<code>MimeType</code>​ 値がベース ​<code>MimeType</code>​ 値によって処理される場合、​<code>true</code>​ を返します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-mime-functions-tostring" class="xref page">toString</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>MimeType</code>​ 値を文字列表現に変換します。</p></td>
</tr>
</tbody>
</table>

## [](#型)型

- [MIME タイプ](https://docs.mulesoft.com/jp/dataweave/2.8/dw-mime-types)