Package com.ikanow.utility

Examples of com.ikanow.utility.GridFSRandomAccessFile


        if ((null != mediaType) && (mediaType.equalsIgnoreCase("application/x-zip-compressed") || mediaType.equalsIgnoreCase("application/zip")))
        {
          _isDirectory = true;
          ObjectId fileId = _resultObj.getObjectId(SharePojo.binaryId_);
         
          GridFSRandomAccessFile file = new GridFSRandomAccessFile(MongoDbManager.getSocial().getShareBinary(), fileId);         
          _zipView = new GridFSZipFile(_resultObj.getString(SharePojo.title_), file);
        }//TESTED (3.1)
        else { // Single share
          if (_resultObj.containsField(SharePojo.documentLocation_)) {
            throw new MalformedURLException("Reference shares are not currently supported");
View Full Code Here

TOP

Related Classes of com.ikanow.utility.GridFSRandomAccessFile

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.