|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.File
net.kldp.beat.upload.FormFileImpl
public class FormFileImpl
| Field Summary | |
|---|---|
private java.lang.String |
contentType
|
private java.lang.String |
fieldName
|
private java.io.File |
file
|
private static long |
serialVersionUID
|
| Fields inherited from class java.io.File |
|---|
pathSeparator, pathSeparatorChar, separator, separatorChar |
| Constructor Summary | |
|---|---|
FormFileImpl(java.io.File file)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
업로드 파일의 컨텐츠 타입을 돌려준다. |
java.lang.String |
getFieldName()
Form내에서의 필드명을 돌려준다. |
java.lang.String |
getFileName()
업로드 파일명을 돌려준다. |
int |
getFileSize()
업로드 파일 크기를 돌려준다. |
java.lang.String |
getFileSuffix()
파일 확장자를 돌려준다. |
void |
setContentType(java.lang.String contentType)
|
void |
setFieldName(java.lang.String fieldName)
|
| Methods inherited from class java.io.File |
|---|
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private java.io.File file
private java.lang.String fieldName
private java.lang.String contentType
| Constructor Detail |
|---|
public FormFileImpl(java.io.File file)
| Method Detail |
|---|
public java.lang.String getFieldName()
FormFile
getFieldName in interface FormFilepublic void setFieldName(java.lang.String fieldName)
public void setContentType(java.lang.String contentType)
public java.lang.String getContentType()
FormFile
getContentType in interface FormFilepublic java.lang.String getFileName()
FormFile
getFileName in interface FormFilepublic int getFileSize()
FormFile
getFileSize in interface FormFilepublic java.lang.String getFileSuffix()
FormFile
getFileSuffix in interface FormFile
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||