public final class FileUploads extends Object implements AutoCloseable
Implementation note: The constructor also accepts directories to ensure that the upload directories are cleaned up. For convenience during testing it also accepts files directly.
public static final FileUploads EMPTY
public Collection<File> getUploadedFiles() throws IOException
IOExceptionpublic void close()
throws IOException
close 在接口中 AutoCloseableIOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.