com.vodafone360.people.engine.content
Enum ContentObject.Protocol

java.lang.Object
  extended by java.lang.Enum<ContentObject.Protocol>
      extended by com.vodafone360.people.engine.content.ContentObject.Protocol
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContentObject.Protocol>
Enclosing class:
ContentObject

public static enum ContentObject.Protocol
extends java.lang.Enum<ContentObject.Protocol>

Protocol used for the Transfer.


Enum Constant Summary
AUTO
          Lets the Transport decide what to use.
FTP
          Use FTP.
HTTP
          Use HTTP protocol.
RPG
          Use the RPG protocol.
RTSP
          Use Real Time Streaming protocol.
SCP
          Use the Secure Copy protocol.
 
Method Summary
static ContentObject.Protocol valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContentObject.Protocol[] 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

AUTO

public static final ContentObject.Protocol AUTO
Lets the Transport decide what to use.


RPG

public static final ContentObject.Protocol RPG
Use the RPG protocol. Best for batch-sue


HTTP

public static final ContentObject.Protocol HTTP
Use HTTP protocol.


FTP

public static final ContentObject.Protocol FTP
Use FTP. Mostly for downloading files like pictures or videos


RTSP

public static final ContentObject.Protocol RTSP
Use Real Time Streaming protocol. Mostly for video streaming


SCP

public static final ContentObject.Protocol SCP
Use the Secure Copy protocol.

Method Detail

values

public static ContentObject.Protocol[] 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 (ContentObject.Protocol c : ContentObject.Protocol.values())
    System.out.println(c);

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

valueOf

public static ContentObject.Protocol valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


JavaDoc