Package org.structr.dynamic

Examples of org.structr.dynamic.File.increaseVersion()


        final long checksum = FileHelper.getChecksum(file);
        final long size     = FileHelper.getSize(file);

        file.setProperty(File.checksum, checksum);
        file.setProperty(File.size, size);
        file.increaseVersion();

        getWebSocket().removeFileUploadHandler(uuid);

        logger.log(Level.FINE, "File upload finished. Checksum: {0}, size: {1}", new Object[]{ checksum, size });
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.