org.ccnx.ccn.io.RepositoryFileOutputStream Class Reference

A subclass of CCNFileOutputStream which writes its segments to a repository, using versioned names and writing file-level metadata. More...

Inheritance diagram for org.ccnx.ccn.io.RepositoryFileOutputStream:

org.ccnx.ccn.io.CCNFileOutputStream org.ccnx.ccn.io.CCNVersionedOutputStream org.ccnx.ccn.io.CCNOutputStream org.ccnx.ccn.io.CCNAbstractOutputStream

List of all members.

Public Member Functions

 RepositoryFileOutputStream (ContentName name, CCNHandle handle) throws IOException
 RepositoryFileOutputStream (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle) throws IOException
 RepositoryFileOutputStream (ContentName name, ContentKeys keys, CCNHandle handle) throws IOException
 RepositoryFileOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentKeys keys, CCNHandle handle) throws IOException
 RepositoryFileOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentType type, ContentKeys keys, CCNHandle handle) throws IOException
 RepositoryFileOutputStream (ContentName name, CCNHandle handle, boolean local) throws IOException
 RepositoryFileOutputStream (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle, boolean local) throws IOException
 RepositoryFileOutputStream (ContentName name, ContentKeys keys, CCNHandle handle, boolean local) throws IOException
 RepositoryFileOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentKeys keys, CCNHandle handle, boolean local) throws IOException
 RepositoryFileOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentType type, ContentKeys keys, CCNHandle handle, boolean local) throws IOException


Detailed Description

A subclass of CCNFileOutputStream which writes its segments to a repository, using versioned names and writing file-level metadata.

If the specified name includes a version, it will write that specific version; otherwise it will add a version to the name of the stream it writes. If the local boolean is set to true, the file will be written to a repo on the local device. If no repository is available, it will throw an exception.

Data written using this class can be read using a normal CCNFileInputStream; that class doesn't care whether its content comes from a repository or a cache (or a mix of the two).


The documentation for this class was generated from the following file:

Generated on Thu Feb 16 00:45:01 2012 for Content-Centric Networking in Java by  doxygen 1.5.6