Package org.geoserver.platform.resource

Examples of org.geoserver.platform.resource.Resource


     *
     * @deprecated As of GeoServer 2.6, replaced by @link {@link #get(WorkspaceInfo)}
     */
    @Deprecated
    public File findWorkspaceDir(WorkspaceInfo ws) throws IOException {
        Resource directory = get(ws);
        return Resources.directory(directory);
    }
View Full Code Here


     *
     * @deprecated As of GeoServer 2.6, replaced by {@link #get(WorkspaceInfo, String...)}
     */
    @Deprecated
    public File findOrCreateWorkspaceDir(WorkspaceInfo ws) throws IOException {
        Resource directory = get(ws);
        return directory.dir();
    }
View Full Code Here

     *
     * @deprecated As of GeoServer 2.6, replaced by {@link #config(WorkspaceInfo)}
     */
    @Deprecated
    public File findWorkspaceFile(WorkspaceInfo ws) throws IOException {
        Resource workspaceFile = config(ws);
        return Resources.file(workspaceFile);
    }
View Full Code Here

     *
     * @deprecated As of GeoServer 2.6, replaced by {@link #config(WorkspaceInfo)}
     */
    @Deprecated
    public File findOrResolveWorkspaceFile(WorkspaceInfo ws) throws IOException {
        Resource workspaceFile = config(ws);
        return workspaceFile.file();
    }
View Full Code Here

     *
     * @deprecated As of GeoServer 2.6, replaced by {@link #get(WorkspaceInfo, String...)}
     */
    @Deprecated
    public File findSuppWorkspaceFile(WorkspaceInfo ws, String filename) throws IOException {
        Resource resource = get(ws, filename);
        return Resources.file(resource);
    }
View Full Code Here

     *
     * @deprecated As of GeoServer 2.6, replaced by {@link #getWorkspaces(String...)}
     */
    @Deprecated
    public File findSuppWorkspacesFile(WorkspaceInfo ws, String filename) throws IOException {
        Resource resource = getWorkspaces(filename);
        return Resources.file(resource);
    }
View Full Code Here

     *
     * @deprecated As of GeoServer 2.6, replaced by {@link #get(WorkspaceInfo, String...)}
     */
    @Deprecated
    public void copyToWorkspaceDir(WorkspaceInfo ws, File file) throws IOException {
        Resource directory = get(ws);
        Resources.copy(file, directory);
    }
View Full Code Here

     * @deprecated As of GeoServer 2.6, replaced by {@link #get(WorkspaceInfo, String...)}
     */
    @Deprecated
    public void copyToWorkspaceDir(WorkspaceInfo ws, InputStream data, String filename)
            throws IOException {
        Resource directory = get(ws);
        Resources.copy(data, directory, filename);
    }
View Full Code Here

     *
     * @deprecated As of GeoServer 2.6, replaced by {@link #get(StoreInfo, String...)}
     */
    @Deprecated
    public File findStoreDir(StoreInfo store) throws IOException {
        Resource directory = get(store);
        return Resources.directory(directory);
    }
View Full Code Here

     *
     * @deprecated As of GeoServer 2.6, replaced by {@link #get(StoreInfo, String...)}
     */
    @Deprecated
    public File findOrCreateStoreDir(StoreInfo store) throws IOException {
        Resource resource = get(store);
        return resource.dir();
    }
View Full Code Here

TOP

Related Classes of org.geoserver.platform.resource.Resource

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.