com.japisoft.resourcebrowser
Interface ResourceItem
- All Known Implementing Classes:
- BasicResourceItem, FileResourceItem, FTPResourceItem, WEBDAVResourceItem
- public interface ResourceItem
- Version:
- 1.0
- Author:
- (c) 2004 JAPISoft / http://www.japisoft.com
getFileName
public java.lang.String getFileName()
- Returns:
- the name of the resource like the file name
getFullPath
public java.lang.String getFullPath()
- Returns:
- the full path of the resource including the file name
isFile
public boolean isFile()
- Returns:
true
if this resource is a file and false for a directory
isLocked
public boolean isLocked()
- Returns:
true
if the resource cannot be written
getSize
public long getSize()
- Returns:
- the size of the resource in bytes
getLastModified
public java.util.Date getLastModified()
- Returns:
- the last modified date
getSource
public java.lang.Object getSource()
- Returns:
- the source of the item. Rather for inner usage