public static class NanoHTTPD.DefaultTempFile extends Object implements NanoHTTPD.TempFile
By default, files are created by File.createTempFile() in the directory specified.
| Constructor and Description |
|---|
DefaultTempFile(File tempdir) |
public DefaultTempFile(File tempdir) throws IOException
IOExceptionpublic void delete()
throws Exception
delete in interface NanoHTTPD.TempFileExceptionpublic String getName()
getName in interface NanoHTTPD.TempFilepublic OutputStream open() throws Exception
open in interface NanoHTTPD.TempFileExceptionCopyright © 2012–2020. All rights reserved.