public static class NanoHTTPD.DefaultTempFile extends java.lang.Object implements NanoHTTPD.TempFile
[>By default, files are created by
File.createTempFile()
in the directory specified.| Constructor and Description |
|---|
DefaultTempFile(java.lang.String tempdir) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
java.lang.String |
getName() |
java.io.OutputStream |
open() |
public DefaultTempFile(java.lang.String tempdir)
throws java.io.IOException
java.io.IOExceptionpublic java.io.OutputStream open()
throws java.lang.Exception
open in interface NanoHTTPD.TempFilejava.lang.Exceptionpublic void delete()
throws java.lang.Exception
delete in interface NanoHTTPD.TempFilejava.lang.Exceptionpublic java.lang.String getName()
getName in interface NanoHTTPD.TempFile