Maven module :un.storage : media-mpeg4 :
Class : un.storage.media.mp4.boxes.impl.ItemInformationEntry
Extends/Implements : un.storage.media.mp4.boxes.FullBox
Subclasses : -

author  Alexander Simm


Variables : -
Functions : ItemInformationEntry, decode, getItemID, getItemProtectionIndex, getItemName, getContentType, getContentEncoding, getExtensionType, getExtension



public void ItemInformationEntry ()

public void decode (MP4InputStream in)


The item ID contains either 0 for the primary resource (e.g., the XML
contained in an 'xml ' box) or the ID of the item for which the following
information is defined.

@return the item ID
public int getItemID ()


The item protection index contains either 0 for an unprotected item, or
the one-based index into the item protection box defining the protection
applied to this item (the first box in the item protection box has the
index 1).
return  the item protection index
public int getItemProtectionIndex ()


The item name is a String containing a symbolic name of the item (source
file for file delivery transmissions).
return  the item name
public String getItemName ()


The content type is a String with the MIME type of the item. If the item
is content encoded (see below), then the content type refers to the item
after content decoding.
return  the content type
public String getContentType ()


The content encoding is an optional String used to indicate that the
binary file is encoded and needs to be decoded before interpreted. The
values are as defined for Content-Encoding for HTTP/1.1. Some possible
values are "gzip", "compress" and "deflate". An empty string indicates no
content encoding. Note that the item is stored after the content encoding
has been applied.

@return the content encoding
public String getContentEncoding ()


The extension type is a printable four-character code that identifies the
extension fields of version 1 with respect to version 0 of the item
information entry.
return  the extension type
public long getExtensionType ()


Returns the extension.
public Extension getExtension ()