public class StrutsUploadedFile extends Object implements UploadedFile
Modifier and Type | Class and Description |
---|---|
static class |
StrutsUploadedFile.Builder |
Constructor and Description |
---|
StrutsUploadedFile(File file)
Deprecated.
since Struts 6.4.0
|
Modifier and Type | Method and Description |
---|---|
boolean |
delete() |
String |
getAbsolutePath() |
File |
getContent() |
String |
getContentType() |
String |
getName() |
String |
getOriginalName() |
boolean |
isFile() |
Long |
length() |
String |
toString() |
@Deprecated public StrutsUploadedFile(File file)
file
- an uploaded filepublic Long length()
length
in interface UploadedFile
public String getName()
getName
in interface UploadedFile
public boolean isFile()
isFile
in interface UploadedFile
public boolean delete()
delete
in interface UploadedFile
public String getAbsolutePath()
getAbsolutePath
in interface UploadedFile
public File getContent()
getContent
in interface UploadedFile
public String getContentType()
getContentType
in interface UploadedFile
public String getOriginalName()
getOriginalName
in interface UploadedFile
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.