Sun StorageTek 5800 System Client API Reference Manual

storeObject

Uploads a new data object with an associated name-value metadata record.

Synopsis

     public SystemRecord storeObject(java.nio.channels.ReadableByteChannel dataChannel)
     public SystemRecord 
         storeObject(ReadableByteChannel dataChannel,NameValueRecord record) 
         throws ArchiveException,IOException

Description

Takes a ReadableByteChannel (and an optional NameValueRecord) and returns a SystemRecord instance containing the system metadata for the new object.