Package org.netxms.client.server
Class ServerFile
- java.lang.Object
-
- org.netxms.client.server.ServerFile
-
public class ServerFile extends Object
Represents information about file in server's file store
-
-
Constructor Summary
Constructors Constructor Description ServerFile(org.netxms.base.NXCPMessage msg, long baseId)Create server file object from NXCP message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExtension()DategetModifyicationTime()StringgetName()longgetSize()voidsetName(String name)
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getSize
public long getSize()
- Returns:
- the size
-
getModifyicationTime
public Date getModifyicationTime()
- Returns:
- the modifyicationTime
-
getExtension
public String getExtension()
- Returns:
- the type
-
-