public class FileChooser extends Object
File choosers let you react to the page requesting for a file.
| 构造器和说明 |
|---|
FileChooser(ElementHandle element,
boolean multiple) |
public FileChooser(ElementHandle element, boolean multiple)
public boolean isMultiple()
public void accept(List<String> filePaths) throws com.fasterxml.jackson.core.JsonProcessingException, EvaluateException
filePaths - 选择的文件路径com.fasterxml.jackson.core.JsonProcessingException - json异常EvaluateException - 执行异常public void cancel()
throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2020–2025. All rights reserved.