Developers » Script Objects & Methods » ScriptFile



The following table lists the available methods on the ScriptFile object:

Return TypeMethodExplanation
StringgetName() Gets the name of the file
StringgetOriginalName()Gets the original name of the file
StringgetContent()Gets the content of the file
StringgetExtension()Gets the extension of the file
byte[ ]getBytes()
Gets the file in bytes
voidsetOriginalName(String originalName)Sets the original name for the file