public void copyProviderToCreator ( Resource . Provider provider , Resource . Creator creator ) { provider . stream ( ) . forEach ( ( ConsumerWithThrowable < Resource . Readable , IOException > ) resource -> copyResourceWithStreams ( resource , creator . create ( resource . getPath ( ) ) ) ) ; }
Copy all resource in provider over to some creator .