X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=mime-en.texi;h=f3bbf8a8199d4c402db35bf42b513331a88f8c1c;hb=refs%2Fheads%2Fchao-1_9;hp=8d126618215f43ba8b904194f3db5b2e5bc3b909;hpb=d92169d43aa7881e5153b1819046dd7c6b95d9bb;p=elisp%2Fflim.git diff --git a/mime-en.texi b/mime-en.texi index 8d12661..f3bbf8a 100644 --- a/mime-en.texi +++ b/mime-en.texi @@ -475,14 +475,14 @@ Content-Type field. @cindex subtype @cindex type -Content-Type 欄の形式は以下のように定義されています: +Format of Content-Type field is defined as follows: @quotation ``Content-Type'' ``:'' @strong{type} ``/'' @strong{subtype} *( ``;'' @strong{parameter} ) @end quotation -例えば、 +For example: @quotation @example @@ -490,8 +490,6 @@ Content-Type: image/jpeg @end example @end quotation -@noindent -や @quotation @example @@ -499,18 +497,16 @@ Content-Type: text/plain; charset=iso-2022-jp @end example @end quotation -@noindent -などのように用いられます。 - -ここで、`type' と `subtype' は entity の形式を示すもので、両者を総称し -て、`media-type' と呼ぶことにします。上記の例における `image/jpeg' や -`text/plain' は media-type の1つです。 +`type' and `subtype' indicate format of an entity. In this document, +pair of them is called `media-type'. `image/jpeg' or `text/plain' is +a media-type. @noindent @strong{[Memo]} @quotation -Content-Type 欄のない entity は +If an entity does not have Content-Type field, it is regarded as +following: @quotation @example @@ -519,7 +515,7 @@ Content-Type: text/plain; charset=us-ascii @end quotation @noindent -として解釈される。(cf. @ref{us-ascii}) +(cf. @ref{us-ascii}) @end quotation @@ -529,22 +525,23 @@ Content-Type: text/plain; charset=us-ascii @deffn{Structure} mime-content-type -Content-Type 欄の情報を格納するための構造体。@refill +Structure to store information of a Content-Type field.@refill -この構造体を参照するには @code{mime-content-type-要素名} という名前の参 -照関数を用いる。@refill +Applications should use reference functions +@code{mime-content-type-SLOT} to refer information of the +structure.@refill -この構造体の要素は以下の通りである: +Slots of the structure are following: @table @var @item primary-type -media-type の主型 (symbol). +primary type of media-type (symbol). @item subtype -media-type の副型 (symbol). +subtype of media-type (symbol). @item parameters -Content-Type 欄の parameter (連想 list). +parameters of Content-Type field (association-list). @end table @end deffn @@ -553,13 +550,13 @@ Content-Type 欄の parameter (連想 list). @defun make-mime-content-type type subtype &optional parameters -content-type の生成子。 +Constructor of content-type. @end defun @defun mime-content-type-parameter content-type parameter -@var{content-type} の @var{parameter} の値を返す。 +Return value of @var{parameter} of @var{content-type}. @end defun @@ -569,15 +566,16 @@ content-type の生成子。 @defun mime-parse-Content-Type string -@var{string} を content-type として解析した結果を返す。 +Parse @var{string} as field-body of Content-Type field. @end defun @defun mime-read-Content-Type -現在の buffer の Content-Type 欄を読み取り、解析した結果を返す。@refill +Read field-body of Content-Type field from current-buffer, and return +parsed it.@refill -Content-Type 欄が存在しない場合は nil を返す。 +Return @code{nil} if Content-Type field is not found. @end defun @@ -597,10 +595,11 @@ Return type/subtype string from @var{type} and @var{subtype}. @cindex mime-content-disposition @cindex RFC 2183 @cindex Standards Track -@cindex Content-Disposition 欄 +@cindex Content-Disposition field -@strong{Content-Disposition 欄} は entity の表示や file 名など -の属性になどに関する情報を記述するためのものです。 +@strong{Content-Disposition field} is an optional field to +specify presentation of an entity or attributes of an entity, such as +file name. @noindent @@ -611,9 +610,9 @@ Information in Internet Messages: The Content-Disposition Header'', August 1997, Standards Track. @end quotation -FLIM は Content-Disposition 欄を構文解析する関数と Content-Disposition -欄の解析結果を格納する構造体 -@strong{mime-content-disposition} を提供します。 +FLIM provides parser for Content-Disposition field and structure +@strong{mime-content-disposition} to store information of +Content-Disposition field. @menu @@ -626,19 +625,21 @@ FLIM は Content-Disposition 欄を構文解析する関数と Content-Dispositi @deffn{Structure} mime-content-disposition -Content-Disposition 欄の解析結果を収めるための構造体。@refill +Structure to store information of a Content-Disposition field.@refill -この構造体を参照するには @code{mime-content-disposition-要素名} という名 -前の参照関数を用いる。@refill +Applications should use reference functions +@code{mime-content-disposition-SLOT} to refer information of the +structure.@refill -この構造体の要素は以下の通りである: +Slots of the structure are following: @table @var @item disposition-type disposition-type (symbol). @item parameters -Content-Disposition 欄の parameter (連想 list). +parameters of Content-Disposition field +(association-list). @end table @end deffn @@ -646,13 +647,13 @@ Content-Disposition 欄の parameter (連想 list). @defun mime-content-disposition-parameter content-disposition parameter -@var{content-disposition} の @var{parameter} の値を返す。 +Return value of @var{parameter} of @var{content-disposition}. @end defun @defun mime-content-disposition-filename content-disposition -@var{content-disposition} の filename の値を返す。 +Return filename of @var{content-disposition}. @end defun @@ -662,33 +663,33 @@ Content-Disposition 欄の parameter (連想 list). @defun mime-parse-Content-Disposition string -@var{string} を content-disposition として解析した結果を返す。 +Parse @var{string} as field-body of Content-Disposition field, and +return the result. @end defun @defun mime-read-Content-Disposition -現在の buffer の Content-Disposition 欄を読み取り、解析した結果を返す。 -@refill +Read field-body of Content-Disposition field from current-buffer,@refill -Content-Disposition 欄が存在しない場合は nil を返す。 +Return nil if Content-Disposition field is not found. @end defun @node Content-Transfer-Encoding, encoded-word, Content-Disposition, Top @chapter Encoding Method -@cindex Content-Transfer-Encoding 欄 +@cindex Content-Transfer-Encoding field -@strong{Content-Transfer-Encoding 欄} は entity の符号化法を記述するため -のものです。@refill +@strong{Content-Transfer-Encoding field} is a header field to indicate +body encoding of a entity.@refill -FLIM では Content-Transfer-Encoding 欄を構文解析する関数を提供します。こ -れらの関数は Content-Transfer-Encoding 欄の情報は文字列で表現します。 -@refill +FLIM provides parser functions for Content-Transfer-Encoding field. +They represent information of Content-Transfer-Encoding field as +string.@refill -また、Content-Transfer-Encoding に基づいて符号化・復号化を行う関数も提 -供されます。 +In addition, FLIM provides encoder/decoder functions by +Content-Transfer-Encoding. @menu