org.jmythapi.protocol.response
Enum IFreeSpace.Props

java.lang.Object
  extended by java.lang.Enum<IFreeSpace.Props>
      extended by org.jmythapi.protocol.response.IFreeSpace.Props
All Implemented Interfaces:
Serializable, Comparable<IFreeSpace.Props>
Enclosing interface:
IFreeSpace

public static enum IFreeSpace.Props
extends Enum<IFreeSpace.Props>

The properties of an IFreeSpace response.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange001617
TOTAL_SPACELong[00,17)XX-
USED_SPACELong[00,17)XX-
.


Enum Constant Summary
TOTAL_SPACE
          Total space in megabytes on file system.
USED_SPACE
          Used space in megabytes on file system.
 
Method Summary
static IFreeSpace.Props valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IFreeSpace.Props[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TOTAL_SPACE

public static final IFreeSpace.Props TOTAL_SPACE
Total space in megabytes on file system.

See Also:
IFreeSpace.getTotalSpace(), IBasicFreeSpace.getTotalSpace()

USED_SPACE

public static final IFreeSpace.Props USED_SPACE
Used space in megabytes on file system.

See Also:
IFreeSpace.getUsedSpace(), IBasicFreeSpace.getUsedSpace()
Method Detail

values

public static IFreeSpace.Props[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IFreeSpace.Props c : IFreeSpace.Props.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IFreeSpace.Props valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2013. All Rights Reserved.