org.jmythapi.protocol.response.impl
Class AFreeSpace<E extends Enum<E>>
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.protocol.response.impl.AMythResponse<E>
org.jmythapi.protocol.response.impl.AFreeSpace<E>
- All Implemented Interfaces:
- Cloneable, IPropertyAware<E>, IVersionable, ISendable, IBasicFreeSpace, IMythResponse<E>
- Direct Known Subclasses:
- FreeSpace, FreeSpaceList, FreeSpaceSummary
public abstract class AFreeSpace<E extends Enum<E>>
- extends AMythResponse<E>
- implements IBasicFreeSpace
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 |
AFreeSpace
public AFreeSpace(Class<E> propsClass,
IMythPacket packet)
AFreeSpace
public AFreeSpace(ProtocolVersion protoVersion,
Class<E> propsClass,
String... responseArgs)
AFreeSpace
public AFreeSpace(ProtocolVersion protoVersion,
Class<E> propsClass,
ArrayList<String> responseArgs)
getTotalSpace
public abstract Long getTotalSpace()
- Description copied from interface:
IBasicFreeSpace
- Gets the total space on file system.
- Specified by:
getTotalSpace
in interface IBasicFreeSpace
- Returns:
- total space
getUsedSpace
public abstract Long getUsedSpace()
- Description copied from interface:
IBasicFreeSpace
- Gets the used space on file system.
- Specified by:
getUsedSpace
in interface IBasicFreeSpace
- Returns:
- used space
getFreeSpace
public Long getFreeSpace()
- Description copied from interface:
IBasicFreeSpace
- Gets the free space on file system.
- Specified by:
getFreeSpace
in interface IBasicFreeSpace
- Returns:
- free space
Copyright © 2008-2013. All Rights Reserved.