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
UnsupportedEncodingException
public CachedResource(byte[] source, String description)
public CachedResource(Reader reader, String encoding) throws IOException
IOException
public String getDescription()
public InputStream getInputStream() throws IOException
IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.