| Package | Description |
|---|---|
| to.etc.domui.parts |
| Modifier and Type | Method and Description |
|---|---|
static TempFilePart.Disposition |
TempFilePart.Disposition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TempFilePart.Disposition[] |
TempFilePart.Disposition.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TempFilePart.createDownloadAction(NodeBase sourcePage,
File target,
String mime,
TempFilePart.Disposition disposition,
String name)
Force the browser to download the specified file, by sending "location.href = (url-to-file)" to the browser.
|
static String |
TempFilePart.registerTempFile(File target,
String mime,
TempFilePart.Disposition disp,
String name)
Register a temp file that can be accessed by the browser.
|
Copyright © 2017 etc.to. All rights reserved.