Package com.cloudloop.storage

Examples of com.cloudloop.storage.CloudStoreFile.refreshMetadata()


  fileToUpload.setCustomMetaTag( "foo", "bar" );
  fileToUpload.write( null );
 
  CloudStoreFile uploaded = store.getFile( fileToUpload.getPath( )
    .getAbsolutePath( ) );
  uploaded.refreshMetadata( );
  String tag = uploaded.getMetadata( ).getCustomTags( ).get( "foo" );
  if ( tag == null ) // Rackspace capitalizes the first letter of keys for
      // some reason...
      // TODO: Log defect!!
      tag = uploaded.getMetadata( ).getCustomTags( ).get( "Foo" );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.