Package org.hive2hive.core.model

Examples of org.hive2hive.core.model.MetaFileLarge


    logger.trace("Creating new meta file for file '{}'.", file.getName());

    MetaFile metaFile = null;
    if (context.isLargeFile()) {
      metaFile = new MetaFileLarge(context.generateOrGetMetaKeys().getPublic(), context.getMetaChunks());
    } else {
      // create new meta file with new version
      FileVersion version = new FileVersion(0, FileUtil.getFileSize(file), System.currentTimeMillis(),
          context.getMetaChunks());
      List<FileVersion> versions = new ArrayList<FileVersion>(1);
View Full Code Here

TOP

Related Classes of org.hive2hive.core.model.MetaFileLarge

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.