org.alembik.util
Enum TranscodingUtils.FileInfo

java.lang.Object
  extended by java.lang.Enum<TranscodingUtils.FileInfo>
      extended by org.alembik.util.TranscodingUtils.FileInfo
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TranscodingUtils.FileInfo>
Enclosing class:
TranscodingUtils

public static enum TranscodingUtils.FileInfo
extends java.lang.Enum<TranscodingUtils.FileInfo>

The types of information properties returned to the client on source and transcoded files processed by Alembik.

See Also:
TranscodingUtils.getResultInfo(JobResult, org.alembik.util.TranscodingUtils.FileInfo)

Enum Constant Summary
COMPLETE
          Boolean desribing if a source file loaded into the storage is complete or not.
DURATION
          File duration in seconds.
LOAD_TIME
          Source file loading time in milliseconds.
PARTS_COUNT
          Number of parts produced by "progressive segmentation".
SIZE
          File size in KBs.
 
Method Summary
 java.lang.String standardUnit()
          Gets the unit name for this information type.
static TranscodingUtils.FileInfo valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TranscodingUtils.FileInfo[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DURATION

public static final TranscodingUtils.FileInfo DURATION
File duration in seconds.


SIZE

public static final TranscodingUtils.FileInfo SIZE
File size in KBs.

See Also:
JobResult.Output.getMediaSize()

COMPLETE

public static final TranscodingUtils.FileInfo COMPLETE
Boolean desribing if a source file loaded into the storage is complete or not.

See Also:
TranscodingUtils.TRANSFORMATION_DOWNLOAD_LIMIT_ATTR_TREAT_COMPLETE

LOAD_TIME

public static final TranscodingUtils.FileInfo LOAD_TIME
Source file loading time in milliseconds.


PARTS_COUNT

public static final TranscodingUtils.FileInfo PARTS_COUNT
Number of parts produced by "progressive segmentation".

See Also:
TranscodingUtils.TRANSFORMATION_DOWNLOAD_LIMIT_ATTR_REPEAT
Method Detail

values

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

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

valueOf

public static TranscodingUtils.FileInfo 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

standardUnit

public java.lang.String standardUnit()
Gets the unit name for this information type.

Returns:
the measurement unit