Spring Data Core

org.springframework.data.repository.init
Class UnmarshallingResourceReader

java.lang.Object
  extended by org.springframework.data.repository.init.UnmarshallingResourceReader
All Implemented Interfaces:
ResourceReader

public class UnmarshallingResourceReader
extends Object
implements ResourceReader

Author:
Oliver Gierke

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.springframework.data.repository.init.ResourceReader
ResourceReader.Type
 
Constructor Summary
UnmarshallingResourceReader(Unmarshaller unmarshaller)
           
 
Method Summary
 Object readFrom(Resource resource, ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnmarshallingResourceReader

public UnmarshallingResourceReader(Unmarshaller unmarshaller)
Parameters:
unmarshaller -
Method Detail

readFrom

public Object readFrom(Resource resource,
                       ClassLoader classLoader)
                throws IOException
Specified by:
readFrom in interface ResourceReader
Throws:
IOException

Spring Data Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.