Package org.jclouds.mezeo.pcs.domain.internal

Examples of org.jclouds.mezeo.pcs.domain.internal.FileInfoWithMetadataImpl


      } else if (qName.equals("mime_type")) {
         currentMimeType = currentText.toString().trim();
      } else if (qName.equals("public")) {
         currentPublic = Boolean.parseBoolean(currentText.toString().trim());
      } else if (qName.equals("file")) {
         fileMetadataList = new FileInfoWithMetadataImpl(currentUrl, currentName, currentCreated,
                  currentInproject, currentModified, currentOwner, currentVersion, currentShared,
                  currentAccessed, currentPublic, currentMimeType, currentBytes, currentContent,
                  currentParent, currentPermissions, currentTags, currentMetadata, metadataItems,
                  currentThumbnail);
         currentUrl = null;
View Full Code Here


   }

   public void testFileMetadata() {
      InputStream is = getClass().getResourceAsStream("/test_file_metadata.xml");

      FileInfoWithMetadata expects = new FileInfoWithMetadataImpl(
               URI
                        .create("https://pcsbeta.mezeo.net/v2/files/9E4C5AFA-A98B-11DE-8B4C-C3884B4A2DA3"),
               "testfile.txt",
               dateService.fromSeconds(1254000180),
               true,
View Full Code Here

TOP

Related Classes of org.jclouds.mezeo.pcs.domain.internal.FileInfoWithMetadataImpl

Copyright © 2018 www.massapicom. 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.