public class TinyItemFileObject extends AbstractFileObject implements ItemFileObject
开发人员: renhui
开发时间: 2014-1-3
Constructor and Description |
---|
TinyItemFileObject(TinyFileItem fileItem) |
Modifier and Type | Method and Description |
---|---|
String |
getAbsolutePath() |
FileObject |
getChild(String fileName) |
List<FileObject> |
getChildren() |
String |
getExtName() |
org.apache.commons.fileupload.FileItem |
getFileItem()
文件对象关联的fileitem对象
|
String |
getFileName() |
InputStream |
getInputStream() |
long |
getLastModifiedTime() |
OutputStream |
getOutputStream() |
String |
getPath() |
long |
getSize() |
URL |
getURL() |
boolean |
isExist() |
boolean |
isFolder() |
boolean |
isInPackage() |
clean, delete, equals, foreach, foreach, getFileObject, getParent, getSchemaProvider, hashCode, isModified, resetModified, setParent, substringAfter
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
clean, delete, foreach, foreach, getFileObject, getParent, getSchemaProvider, isModified, resetModified, setParent
public TinyItemFileObject(TinyFileItem fileItem)
public String getFileName()
getFileName
in interface FileObject
public String getPath()
getPath
in interface FileObject
public String getAbsolutePath()
getAbsolutePath
in interface FileObject
public String getExtName()
getExtName
in interface FileObject
public boolean isExist()
isExist
in interface FileObject
public long getSize()
getSize
in interface FileObject
public InputStream getInputStream()
getInputStream
in interface FileObject
public boolean isFolder()
isFolder
in interface FileObject
public List<FileObject> getChildren()
getChildren
in interface FileObject
public FileObject getChild(String fileName)
getChild
in interface FileObject
public long getLastModifiedTime()
getLastModifiedTime
in interface FileObject
public boolean isInPackage()
isInPackage
in interface FileObject
public URL getURL()
getURL
in interface FileObject
public OutputStream getOutputStream()
getOutputStream
in interface FileObject
public org.apache.commons.fileupload.FileItem getFileItem()
ItemFileObject
getFileItem
in interface ItemFileObject
Copyright © 2006–2018 TinyGroup. All rights reserved.