|
Maybe Upload 1-1-0 by Weft | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--java.io.File
|
+--uk.co.weft.maybeupload.UploadedFile
An enhancement to File that supports several additional fields concerning uploaded files.
$Log: UploadedFile.java,v $ Revision 1.1 2002/10/08 09:22:48 simon A number of minor enhancements and some bug fixes proposed by Shawn Grunberger
| Field Summary | |
protected java.lang.String |
clientPathname
|
protected java.lang.String |
contentType
|
| Fields inherited from class java.io.File |
pathSeparator,
pathSeparatorChar,
separator,
separatorChar |
| Constructor Summary | |
protected |
UploadedFile(java.lang.String pathname)
|
| Method Summary | |
java.lang.String |
getClientPathname()
Returns the client (remote) pathname for this file. |
java.lang.String |
getContentType()
Returns the content type (MIME type) of the uploaded file. |
protected void |
setClientPathname(java.lang.String pathname)
Sets the client (remote) pathname for this file. |
protected void |
setContentType(java.lang.String contentType)
Sets the content type (MIME type) of the uploaded file. |
| Methods inherited from class java.io.File |
canRead,
canWrite,
compareTo,
compareTo,
createNewFile,
createTempFile,
createTempFile,
delete,
deleteOnExit,
equals,
exists,
getAbsoluteFile,
getAbsolutePath,
getCanonicalFile,
getCanonicalPath,
getName,
getParent,
getParentFile,
getPath,
hashCode,
isAbsolute,
isDirectory,
isFile,
isHidden,
lastModified,
length,
list,
list,
listFiles,
listFiles,
listFiles,
listRoots,
mkdir,
mkdirs,
renameTo,
setLastModified,
setReadOnly,
toString,
toURL |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
protected java.lang.String clientPathname
protected java.lang.String contentType
| Constructor Detail |
protected UploadedFile(java.lang.String pathname)
| Method Detail |
public java.lang.String getClientPathname()
protected void setClientPathname(java.lang.String pathname)
public java.lang.String getContentType()
protected void setContentType(java.lang.String contentType)
|
Maybe Upload 1-1-0 by Weft | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||