public class RequestArguments.ExistingFile extends RequestArguments.TypeaheadInputText<File>
_typeaheadHref, _typeaheadLimit_displayName, _field, _gridable, _hideInQuery, _mustExist, _name, _prerequisites, _readOnly, _requestHelp, _required, _validator| Constructor and Description |
|---|
RequestArguments.ExistingFile(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected File |
defaultValue()
Returns the default value of the argument.
|
protected String[] |
errors()
Returns a list of possible error strings, that could be thrown in an
IllegalArgumentException.
|
protected File |
parse(String input)
Override this method to provide parsing of the input string to the Java
expected value.
|
protected String |
queryDescription()
Returns the query description.
|
jsAddonsjsRefresh, jsValue, queryElementaddPrerequisite, check, disable, disable, disabled, getDisplayName, getName, originalValue, query, queryAddons, queryComment, record, refreshOnChange, requestHelp, reset, run, setRefreshOnChange, specified, valid, valueclone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic RequestArguments.ExistingFile(String name)
protected File parse(String input) throws IllegalArgumentException
RequestArguments.Argumentparse in class RequestArguments.Argument<File>IllegalArgumentExceptionprotected String queryDescription()
RequestArguments.ArgumentqueryDescription in class RequestArguments.Argument<File>protected File defaultValue()
RequestArguments.ArgumentdefaultValue in class RequestArguments.Argument<File>protected String[] errors()
RequestArguments.Argumenterrors in class RequestArguments.Argument<File>Copyright © 2013–2014 0xdata. All rights reserved.