*
*/
public void write( TransferProgressObserver progressObserver )
{
if ( getStreamToStore( ) == null )
throw new StreamToStoreNotSetException(
"You must provide an input stream in order to write a file to the cloud." );
getParentStore( ).upload( this, progressObserver );
}