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.IOException
public void delete() throws java.lang.Exception
delete
in interface NanoHTTPD.TempFile
java.lang.Exception
public java.lang.String getName()
getName
in interface NanoHTTPD.TempFile
public java.io.OutputStream open() throws java.lang.Exception
open
in interface NanoHTTPD.TempFile
java.lang.Exception