Package org.structr.web.entity

Examples of org.structr.web.entity.FileBase


        Long size    = (Long) webSocketData.getNodeData().get("size");
        String contentType  = (String) webSocketData.getNodeData().get("contentType");
        String name    = (String) webSocketData.getNodeData().get("name");

        FileBase fileNode = (FileBase) newNode;

        fileNode.setProperty(File.size, size != null ? size : 0L);
        fileNode.setProperty(File.contentType, contentType);
        fileNode.setProperty(AbstractNode.name, name);

        getWebSocket().createFileUploadHandler(fileNode);

      }
View Full Code Here

TOP

Related Classes of org.structr.web.entity.FileBase

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.