public SourceUnit addSource ( String name , InputStream stream ) { ReaderSource source = new InputStreamReaderSource ( stream , configuration ) ; return addSource ( new SourceUnit ( name , source , configuration , classLoader , getErrorCollector ( ) ) ) ; }
Adds a InputStream source to the unit .