User API

UnknownFile

Other API in Package

Web

Internal Tunnel

Internal Web

Tunnel

Method Summary
String getFileExtension()

Returns the file extension. 'Myfile.doc' returns 'doc'

int getFileLength()

Returns the size of the file in bytes.

int getFileSize()

Returns the size of the file in kilobytes.

String getFilename()

Returns the name of the uploaded file.

File toFile(String filename)

Creates a file with the given name and extension. Extension is required and must be a type supported by the platform

String toString()

Returns a description of this object.

Method Detail


String getFileExtension()

Returns the file extension. 'Myfile.doc' returns 'doc'

Returns:  String

Since: 03-28-2018

top

int getFileLength()

Returns the size of the file in bytes.

Returns:  int

Since: 08-23-2018

top

int getFileSize()

Returns the size of the file in kilobytes.

Returns:  int

Since: 03-28-2018

top

String getFilename()

Returns the name of the uploaded file.

Returns:  String

Since: 03-28-2018

top

File toFile(String filename)

Creates a file with the given name and extension. Extension is required and must be a type supported by the platform

Parameters:

  • String   filename

Returns:  File

Since: 03-28-2018

top

String toString()

Returns a description of this object.

Returns:  String

Since: 03-28-2018

top
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. API Date: Dec 03, 2024 10:24 AM