|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjava.io.File
org.talika.tarsis.filters.upload.MultipartFile
Encapsulates a file of a multipart request by extending java.io.File
adding content type and remote name attributes.
| Field Summary |
|---|
| Fields inherited from class java.io.File |
|---|
pathSeparator, pathSeparatorChar, separator, separatorChar |
| Constructor Summary | |
|---|---|
MultipartFile(java.lang.String path,
java.lang.String remoteName,
java.lang.String contentType)
Creates a new MultipartFile using given path, content type and
remote name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
Returns content type of file. |
java.lang.String |
getRemoteName()
Returns remote name of 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, toURI, toURL |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MultipartFile(java.lang.String path,
java.lang.String remoteName,
java.lang.String contentType)
MultipartFile using given path, content type and
remote name.
path - String local path to file.remoteName - String remote name of file.contentType - String content type of file.| Method Detail |
public java.lang.String getContentType()
public java.lang.String getRemoteName()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||