|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectro.polak.littleServlet.FileUpload
public class FileUpload
Handles file upload
Java Little Web Server Homepage
| Constructor Summary | |
|---|---|
FileUpload()
Creates empty file upload |
|
FileUpload(java.util.Vector<UploadedFile> uploadedFiles)
Default constructor |
|
| Method Summary | |
|---|---|
void |
freeResources()
Destroys (deletes) all unused temporary data |
UploadedFile |
getFile(java.lang.String fileFormName)
Returns an uploaded file of specified form name |
UploadedFile |
pop()
Returns the next file from the stack |
void |
rewind()
Rewinds the file stack |
int |
size()
Returns the number of uploaded files |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileUpload(java.util.Vector<UploadedFile> uploadedFiles)
uploadedFiles - Vector of uploaded filespublic FileUpload()
| Method Detail |
|---|
public UploadedFile getFile(java.lang.String fileFormName)
fileFormName - HTTP field name for the file
public UploadedFile pop()
public void rewind()
public int size()
public void freeResources()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||