public interface ExecutionResources
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsOsPath(org.springframework.core.io.Resource resource,
java.lang.Boolean overwrite)
Returns the resource as a file path.
|
java.io.File |
getWritableBaseDir()
The base directory where this execution can write
|
java.io.File |
getWritableOsFile(java.lang.String relativePath)
Allocates a local file in the writable area and return it as a
File . |
java.lang.String |
getWritableOsPath(java.lang.String relativePath)
Allocates a local file in the writable area and return it as a fully
qualified OS path.
|
org.springframework.core.io.Resource |
getWritableResource(java.lang.String relativePath)
Allocates a local file in the writable area and return it as a resource.
|
java.io.File getWritableBaseDir()
org.springframework.core.io.Resource getWritableResource(java.lang.String relativePath)
java.lang.String getWritableOsPath(java.lang.String relativePath)
java.io.File getWritableOsFile(java.lang.String relativePath)
File
.java.lang.String getAsOsPath(org.springframework.core.io.Resource resource, java.lang.Boolean overwrite)
Copyright © 2007–2020. All rights reserved.