Package ef.api

Examples of ef.api.Volume


        return request;
    }

    @Override
    public Response execute(RmRequest request) {
        Volume volume = volumeManager.getRequiredVolume(request.targets[0]);

        for(String target: request.targets){
            volume.remove(target);
        }

        MapResponse response = new MapResponse();
        response.put("removed", request.targets);
        return response;
View Full Code Here


        return request;
    }

    @Override
    public Response execute(GetRequest request) {
        Volume volume = volumeManager.getRequiredVolume(request.target);
        String content = volume.readText(request.target);
        MapResponse response = new MapResponse();
        response.put("content", content);
        return response;
    }
View Full Code Here

TOP

Related Classes of ef.api.Volume

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.