org.ccnx.ccn.profiles.metadata.ThumbnailProfile Class Reference

Access metadata files in the thumbnail namespace. More...

List of all members.

Classes

class  ThumbnailNamer

Static Public Member Functions

static ContentName thumbnailName (ContentName baseName)
 Get the preset directory level name for metadata for thumbnails based on a base file.
static ContentName getLatestVersion (ContentName baseName, byte[] metaName, long timeout, CCNHandle handle) throws IOException
 Get the latest version of a thumbnail metadata file which is associated with a base file.

Static Public Attributes

static final CommandMarker THUMBNAIL_MARKER

Detailed Description

Access metadata files in the thumbnail namespace.


Member Function Documentation

static ContentName org.ccnx.ccn.profiles.metadata.ThumbnailProfile.getLatestVersion ( ContentName  baseName,
byte[]  metaName,
long  timeout,
CCNHandle  handle 
) throws IOException [static]

Get the latest version of a thumbnail metadata file which is associated with a base file.

Before searching for the thumbnail version, we find the latest version of the base file

Parameters:
baseName the base file as a ContentName
metaName the thumbnail filename as a byte array
timeout time to search for the latest version in ms. Applies separately to each latest version search.
handle CCNHandle to use for search.
Returns:
Exceptions:
IOException 
static ContentName org.ccnx.ccn.profiles.metadata.ThumbnailProfile.thumbnailName ( ContentName  baseName  )  [static]

Get the preset directory level name for metadata for thumbnails based on a base file.

Parameters:
baseName the base file as a ContentName
Returns:
the thumbnail meta directory as a ContentName

Member Data Documentation

final CommandMarker org.ccnx.ccn.profiles.metadata.ThumbnailProfile.THUMBNAIL_MARKER [static]
Initial value:
 
                CommandMarker.commandMarker(MetadataProfile.METADATA_NAMESPACE, "thumbnail")

The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:47 2011 for Content-Centric Networking in Java by  doxygen 1.6.3