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.io.File tempdir) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
java.lang.String |
getName() |
java.io.OutputStream |
open() |
public DefaultTempFile(java.io.File tempdir)
throws java.io.IOException
java.io.IOExceptionpublic void delete()
throws java.lang.Exception
delete in interface NanoHTTPD.TempFilejava.lang.Exceptionpublic java.lang.String getName()
getName in interface NanoHTTPD.TempFilepublic java.io.OutputStream open()
throws java.lang.Exception
open in interface NanoHTTPD.TempFilejava.lang.Exception