public class CachedResource
extends org.springframework.core.io.AbstractResource
BeanDefinitionStoreException. This
class is called in to remedy this and should be used instead of, e.g.
InputStreamResource. The resource is
fully stored in memory.| Constructor and Description |
|---|
CachedResource(byte[] source) |
CachedResource(byte[] source,
String description) |
CachedResource(Reader reader,
String encoding) |
CachedResource(String source,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
InputStream |
getInputStream() |
public CachedResource(byte[] source)
public CachedResource(String source, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic CachedResource(byte[] source,
String description)
public CachedResource(Reader reader, String encoding) throws IOException
IOExceptionpublic String getDescription()
public InputStream getInputStream() throws IOException
IOExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.