Detailed reference of prototypes, properties and methods available in the
Javascript environment of your Helma web applications.

framework reference

modules reference

mimePart

Object
   |
   +--mimePart

See:



Constructor Summary
mimePart(Object)
            A MimePart object represents a MIME element and makes its properties and contents available to the scripting environment.
 
Properties Summary
 ByteArray content
          The content of a MIME part as java ByteArray
 Number contentLength
          The content length of a MIME part
 String contentType
          The content type of a MIME part
 String eTag
          The eTag of a MIME part header
 Date lastModified
          The date header of a MIME part
 String name
          The name header of a MIME part
 String text
          The content of a MIME part as text
 
Methods Summary
 String getSubHeader(<String> header, <String> subHeaderName)
           Get a sub-header from a header, e.g.
 String normalizeFilename(<String> filename)
           Normalize a upload file name.
 void writeToFile(<String> dir,<String> name)
           Writes the content of a MIME part to the local file system.

Constructor Detail

mimePart

mimePart(Object)

Properties Detail

content

ByteArray content

contentLength

Number contentLength

contentType

String contentType

eTag

String eTag

lastModified

Date lastModified

name

String name

text

String text

Method Detail

getSubHeader

String getSubHeader(<String> header, <String> subHeaderName)

normalizeFilename

String normalizeFilename(<String> filename)

writeToFile

void writeToFile(<String> dir,<String> name)





Documentation generated by JSDoc on Sat Feb 24 15:21:29 2007