protected void processTusFiles ( String assemblyUrl ) throws IOException , ProtocolException { tusClient . setUploadCreationURL ( new URL ( getClient ( ) . getHostUrl ( ) + "/resumable/files/" ) ) ; tusClient . enableResuming ( tusURLStore ) ; for ( Map . Entry < String , File > entry : files . entrySet ( ) ) { processTusFile ( entry . getValue ( ) , entry . getKey ( ) , assemblyUrl ) ; } for ( Map . Entry < String , InputStream > entry : fileStreams . entrySet ( ) ) { processTusFile ( entry . getValue ( ) , entry . getKey ( ) , assemblyUrl ) ; } }
Prepares all files added for tus uploads .