HostedFile.FileType


enum HostedFile.FileType


Enum used to indicate whether a file is a directory or regular file.

Summary

Enum Values

DIRECTORY
FILE

Public functions

java-static HostedFile.FileType!
String!
java-static HostedFile.FileType!
valueOf(name: String!)

Returns the enum constant of this type with the specified name.

java-static Array<HostedFile.FileType!>!

Returns an array containing the constants of this enum type, in the order they're declared.

Public functions

fromTypeCode

java-static fun fromTypeCode(type: String!): HostedFile.FileType!

getTypeCode

fun getTypeCode(): String!

valueOf

java-static fun valueOf(name: String!): HostedFile.FileType!

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
HostedFile.FileType!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

java-static fun values(): Array<HostedFile.FileType!>!

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
Array<HostedFile.FileType!>!

an array containing the constants of this enum type, in the order they're declared