public abstract class ExtendedResource
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtendedResource.FileSystemExtendedResource |
static class |
ExtendedResource.HdfsExtendedResource |
| Constructor and Description |
|---|
ExtendedResource() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
delete()
Delete the resource and all of its children, if any.
|
abstract boolean |
mkdirs()
Makes sure that the resource and all its parent "directories" exist, creating them if necessary.
|
static ExtendedResource |
wrap(org.springframework.core.io.Resource original) |
public abstract boolean delete()
throws java.io.IOException
java.io.IOExceptionpublic abstract boolean mkdirs()
throws java.io.IOException
java.io.IOExceptionpublic static ExtendedResource wrap(org.springframework.core.io.Resource original)