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