public class ERXFileContext extends Object
Constructor and Description |
---|
ERXFileContext() |
ERXFileContext(File file) |
ERXFileContext(File file,
String clientFileName,
String mimeType) |
ERXFileContext(String path) |
Modifier and Type | Method and Description |
---|---|
String |
clientFileName() |
String |
extension()
Returns the extension for the file represented by the receiver.
|
File |
file() |
String |
mimeType() |
String |
path() |
void |
reset() |
void |
setClientFileName(String clientFileName) |
void |
setFile(File file) |
void |
setMimeType(String mimeType) |
void |
setPath(String path) |
String |
toString() |
public ERXFileContext()
public ERXFileContext(File file)
public ERXFileContext(String path)
public void reset()
public void setFile(File file)
file
- public String path()
public void setPath(String path)
path
- the absolute pathname of the filepublic String clientFileName()
public void setClientFileName(String clientFileName)
clientFileName
- public String mimeType()
public void setMimeType(String mimeType)
mimeType
- the File mime-typepublic String extension()
Copyright © 2002 – 2020 Project Wonder.