|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ocap.hn.content.RecordingContentItem
public abstract class RecordingContentItem
This class represents a content entry that is also a RecordingListEntry.
Field Summary |
---|
Fields inherited from interface org.ocap.hn.content.ContentItem |
---|
AUDIO_ITEM, AUDIO_ITEM_BOOK, AUDIO_ITEM_BROADCAST, AUDIO_ITEM_TRACK, IMAGE_ITEM, IMAGE_ITEM_PHOTO, VIDEO_ITEM, VIDEO_ITEM_BROADCAST, VIDEO_ITEM_MOVIE, VIDEO_ITEM_MUSIC_CLIP |
Constructor Summary | |
---|---|
RecordingContentItem()
|
Method Summary | |
---|---|
void |
addAppData(int dataID,
byte[] data)
|
int |
compareTo(Object o)
|
boolean |
delete()
Deletes this ContentEntry. |
byte[] |
getAppData(int dataID)
|
int[] |
getAppDataIDs()
|
AppID |
getAppID()
|
long |
getContentSize()
Gets the size of the content associated with this ContentEntry.. |
Date |
getCreationDate()
Gets the creation date of the content associated with this ContentEntry. |
ExtendedFileAccessPermissions |
getExtendedFileAccessPermissions()
Gets the file permissions of this ContentEntry. |
Enumeration |
getIdentifierNames()
|
MetadataNode |
getMetadata()
Gets the metadata for this ContentEntry. |
Object |
getMetadata(String which)
|
String |
getName()
Returns the name of this ContentEntry. |
int |
getNumberOfIdentifiers()
|
ContentContainer |
getParent()
Returns the ContentContainer this ContentEntry belongs to. |
boolean |
isLocal()
|
void |
removeAppData(int dataID)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ocap.hn.content.ContentItem |
---|
containsResource, getContentClass, getMetadataRoot, getParentNode, getResource, getResourceCount, getResourceIndex, getResources, getService, hasAudio, hasStillImage, hasVideo |
Methods inherited from interface org.ocap.hn.content.ContentEntry |
---|
getServer |
Constructor Detail |
---|
public RecordingContentItem()
Method Detail |
---|
public void addAppData(int dataID, byte[] data) throws NoMoreDataEntriesException
NoMoreDataEntriesException
public AppID getAppID()
public int[] getAppDataIDs()
public byte[] getAppData(int dataID)
public void removeAppData(int dataID)
public Object getMetadata(String which)
public Enumeration getIdentifierNames()
public MetadataNode getMetadata()
ContentEntry
getMetadata
in interface ContentEntry
public int getNumberOfIdentifiers()
public int compareTo(Object o)
public String getName()
ContentEntry
getName
in interface ContentEntry
public boolean delete() throws IOException, SecurityException
ContentEntry
delete
in interface ContentEntry
delete
in interface ContentItem
IOException
- if the entry is not local.
SecurityException
- if the calling application does not have
write ExtendedFileAccessPermission for this entry.public boolean isLocal()
public ContentContainer getParent()
ContentEntry
ContentContainer
this ContentEntry belongs to.
getParent
in interface ContentEntry
public long getContentSize()
ContentEntry
getContentSize
in interface ContentEntry
public Date getCreationDate()
ContentEntry
getCreationDate
in interface ContentEntry
public ExtendedFileAccessPermissions getExtendedFileAccessPermissions()
ContentEntry
getExtendedFileAccessPermissions
in interface ContentEntry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |