org.jmythapi.protocol.events
Enum IDownloadFileUpdate.Props

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

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

The properties of an IDownloadFileUpdate event.

MythTV Protocol Version Matrix
 Protocol
NameTypeRange00-1
REMOTE_URIURI[00,-1)XX
LOCAL_URIURI[00,-1)XX
BYTES_RECEIVEDLong[00,-1)XX
BYTES_TOTALLong[00,-1)XX


Enum Constant Summary
BYTES_RECEIVED
          The currently downloaded amount of bytes.
BYTES_TOTAL
          The total size of the remote file.
LOCAL_URI
          The URI to the local copy of the remote file.
REMOTE_URI
          The URI to the remote file.
 
Method Summary
static IDownloadFileUpdate.Props valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IDownloadFileUpdate.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

REMOTE_URI

public static final IDownloadFileUpdate.Props REMOTE_URI
The URI to the remote file.

See Also:
IDownloadFile.getRemoteURI()

LOCAL_URI

public static final IDownloadFileUpdate.Props LOCAL_URI
The URI to the local copy of the remote file.

See Also:
IDownloadFile.getLocalURI()

BYTES_RECEIVED

public static final IDownloadFileUpdate.Props BYTES_RECEIVED
The currently downloaded amount of bytes.

See Also:
IDownloadFileUpdate.getBytesReceived()

BYTES_TOTAL

public static final IDownloadFileUpdate.Props BYTES_TOTAL
The total size of the remote file.

See Also:
IDownloadFile.getBytesTotal()
Method Detail

values

public static IDownloadFileUpdate.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 (IDownloadFileUpdate.Props c : IDownloadFileUpdate.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 IDownloadFileUpdate.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.