Class FileListElement
java.lang.Object
ecmwf.common.ecaccess.FileListElement
- All Implemented Interfaces:
Serializable,Cloneable
ECMWF Product Data Store (OpenECPDS) Project
- Since:
- 2024-07-01
- Version:
- 6.7.7
- Author:
- Laurent Gougeon - syi@ecmwf.int, ECMWF.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone.Gets the comment.getGroup()Gets the group.getLink()Gets the link.getName()Gets the name.getPath()Gets the path.getRight()Gets the right.getSize()Gets the size.longgetTime()Gets the time.chargetType()Gets the type.getUser()Gets the user.booleanChecks if is directory.voidsetComment(String com) Sets the comment.voidSets the group.voidSets the link.voidSets the name.voidSets the path.voidSets the right.voidSets the size.voidsetTime(long time) Sets the time.voidSets the user.toString()Return the filename, path included.
-
Constructor Details
-
FileListElement
public FileListElement()
-
-
Method Details
-
getGroup
-
getName
-
getPath
-
getLink
-
getRight
-
getSize
-
getType
public char getType()Gets the type.- Returns:
- the type
-
getUser
-
getComment
-
setComment
-
setGroup
-
setName
-
setPath
-
setLink
-
setRight
-
setSize
-
setUser
-
getTime
public long getTime()Gets the time.- Returns:
- the time
-
isDirectory
public boolean isDirectory()Checks if is directory.- Returns:
- true, if is directory
-
setTime
public void setTime(long time) Sets the time.- Parameters:
time- the new time
-
toString
-
clone
-