]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/execution/ExecutionResources.java
1 package org
.argeo
.slc
.core
.execution
;
3 import org
.springframework
.core
.io
.Resource
;
5 public interface ExecutionResources
{
6 /** Allocates a local file in the writable area and return it as a resource. */
7 public Resource
getWritableResource(String relativePath
);
10 * Returns the resource as a file path. If the resource is not writable it
11 * is copied as a file in the writable area and the path to this local file
14 public String
getAsOsPath(Resource resource
, Boolean overwrite
);