|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.szegedi.spring.core.io.ResourceRepresentation org.szegedi.spring.core.io.PropertyResourceRepresentation
public class PropertyResourceRepresentation
A resource representation that treats the resource as a Java properties file
and represents the resource with a Properties
object
initialized with those properties.
Constructor Summary | |
---|---|
PropertyResourceRepresentation(org.springframework.core.io.Resource resource)
|
Method Summary | |
---|---|
protected java.lang.Object |
loadRepresentation(java.io.InputStream in)
Implement in subclasses to load the representation of the resource. |
Methods inherited from class org.szegedi.spring.core.io.ResourceRepresentation |
---|
getRepresentation, getRepresentation, getResource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyResourceRepresentation(org.springframework.core.io.Resource resource)
Method Detail |
---|
protected java.lang.Object loadRepresentation(java.io.InputStream in) throws java.io.IOException
ResourceRepresentation
loadRepresentation
in class ResourceRepresentation
in
- the input stream with resource bytes
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |