public static Dependencies load ( final InputStream inputStream ) { Utils4J . checkNotNull ( "inputStream" , inputStream ) ; final XStream xstream = createXStream ( ) ; final Reader reader = new InputStreamReader ( inputStream ) ; return ( Dependencies ) xstream . fromXML ( reader ) ; }
Load dependencies from an input stream .