Methods
(static) commonFileExt(type)
returns a commonly used file extension based on optional type
Parameters:
Name | Type | Description |
---|---|---|
type |
string
|
(static) commonFileExt(type)
returns a commonly used file extension based on optional type
Parameters:
Name | Type | Description |
---|---|---|
type |
string
|
(static) commonFileName(ext, type)
commonFileName
Parameters:
Name | Type | Description |
---|---|---|
ext |
string
|
|
type |
string
|
(static) commonFileName(ext, type)
commonFileName
Parameters:
Name | Type | Description |
---|---|---|
ext |
string
|
|
type |
string
|
(static) fileExt(mimeType)
fileExt
Parameters:
Name | Type | Description |
---|---|---|
mimeType |
string
|
(static) fileExt(mimeType)
fileExt
Parameters:
Name | Type | Description |
---|---|---|
mimeType |
string
|
(static) fileName(ext, type)
generates a file name with extension or optional type
Parameters:
Name | Type | Description |
---|---|---|
ext |
string
|
|
type |
string
|
(static) fileName(ext, type)
generates a file name with extension or optional type
Parameters:
Name | Type | Description |
---|---|---|
ext |
string
|
|
type |
string
|