public < T > T deserialize ( Class < T > clazz , String stringContainingSerialisedInput ) { T instance ; try { instance = storageSerializer . deserialize ( clazz , stringContainingSerialisedInput ) ; } catch ( SerializationException e ) { throw new IllegalStateException ( "unable to serialise" , e ) ; } return instance ; }
Returns an object from a serialised string