Package com.pugh.sockso.templates.json

Examples of com.pugh.sockso.templates.json.TFolders


        // check the folder really exists on disk
        if ( !folder.exists() )
            throw new BadRequestException( "www.error.folderDoesntExist", 404 );

        final TFolders tpl = new TFolders();
        tpl.setFiles( getOrderedFiles(folder.listFiles()) );
        getResponse().showJson( tpl.makeRenderer() );
           
    }
View Full Code Here

TOP

Related Classes of com.pugh.sockso.templates.json.TFolders

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.