// We could have had two step design - ReaderFactory-ReaderInstance
// no - put the bruden on complicated readers, not everyone.
private static void process(StreamRDF destination, TypedInputStream in, String baseUri, Lang hintLang, Context context)
{
ContentType ct = determineCT(baseUri, in.getContentType(), hintLang) ;
if ( ct == null )
throw new RiotException("Failed to determine the triples content type: (URI="+baseUri+" : stream="+in.getContentType()+" : hint="+hintLang+")") ;
ReaderRIOT reader = getReader(ct) ;
if ( reader == null )
throw new RiotException("No triples reader for content type: "+ct.getContentType()) ;
reader.read(in, baseUri, ct, destination, context) ;
}