org.jmythapi.protocol.response.impl
Class StorageGroupFile
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.protocol.response.impl.AMythResponse<IStorageGroupFile.Props>
org.jmythapi.protocol.response.impl.StorageGroupFile
- All Implemented Interfaces:
- Cloneable, IPropertyAware<IStorageGroupFile.Props>, IVersionable, ISendable, IMythResponse<IStorageGroupFile.Props>, IStorageGroupFile
public class StorageGroupFile
- extends AMythResponse<IStorageGroupFile.Props>
- implements IStorageGroupFile
Methods inherited from class org.jmythapi.impl.AData |
clone, equals, getPropertyClass, getPropertyCount, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValueObject, getPropertyValues, getVersionNr, hashCode, init, postProcessArguments, setPropertyValue, setPropertyValue, setPropertyValueObject, toString |
Methods inherited from interface org.jmythapi.IPropertyAware |
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
StorageGroupFile
public StorageGroupFile(IMythPacket packet)
StorageGroupFile
public StorageGroupFile(ProtocolVersion protoVersion,
List<String> responseArgs)
isDirectory
public boolean isDirectory()
- Description copied from interface:
IStorageGroupFile
- Checks if the current entry is a directory.
- Specified by:
isDirectory
in interface IStorageGroupFile
- Returns:
true
if the entry is a directory.
getFileType
public String getFileType()
- Description copied from interface:
IStorageGroupFile
- Gets the type of the file.
- Specified by:
getFileType
in interface IStorageGroupFile
- Returns:
file
if the entry is a file.- See Also:
IStorageGroupFile.Props.FILE_TYPE
getFilePath
public String getFilePath()
- Description copied from interface:
IStorageGroupFile
- Gets the full path to the file
- Specified by:
getFilePath
in interface IStorageGroupFile
- Returns:
- the full file path
- See Also:
IStorageGroupFile.Props.FILE_PATH
getLastModified
public Date getLastModified()
- Description copied from interface:
IStorageGroupFile
- Gets the last modified date of the file
- Specified by:
getLastModified
in interface IStorageGroupFile
- Returns:
- the files last-mod date
- See Also:
IStorageGroupFile.Props.LAST_MOD
getFileSize
public Long getFileSize()
- Description copied from interface:
IStorageGroupFile
- Gets the file size
- Specified by:
getFileSize
in interface IStorageGroupFile
- Returns:
- the file size.
- See Also:
IStorageGroupFile.Props.FILE_SIZE
valueOf
public static StorageGroupFile valueOf(IMythPacket packet)
Copyright © 2008-2013. All Rights Reserved.