Package org.netxms.client.server
Interface RemoteFile
- All Known Implementing Classes:
- AgentFile,- ServerFile
public interface RemoteFile
Generic interface for any type of remote (in relation to client) file
- 
Method SummaryModifier and TypeMethodDescriptionGet file extension.Get file modification time.getName()Get file name.longgetSize()Get file size in bytes.booleanCheck if this file object represents directory.booleanCheck if this file object is a placeholder (does not correspond to actual remote file).
- 
Method Details- 
getNameString getName()Get file name.- Returns:
- file name
 
- 
getExtensionString getExtension()Get file extension.- Returns:
- file extension
 
- 
getModificationTimeDate getModificationTime()Get file modification time.- Returns:
- file modification time
 
- 
getSizelong getSize()Get file size in bytes.- Returns:
- file size in bytes
 
- 
isDirectoryboolean isDirectory()Check if this file object represents directory.- Returns:
- true if this file object represents directory
 
- 
isPlaceholderboolean isPlaceholder()Check if this file object is a placeholder (does not correspond to actual remote file).- Returns:
- true if this file object is a placeholder
 
 
-