public void openImageSet ( String ... files ) { synchronized ( lockStartingProcess ) { if ( startingProcess ) { System . out . println ( "Ignoring open image set request. Detected spamming" ) ; return ; } startingProcess = true ; } stopAllInputProcessing ( ) ; synchronized ( inputStreams ) { inputMethod = InputMethod . IMAGE_SET ; inputFileSet = files ; if ( threadProcess != null ) throw new RuntimeException ( "There is still an active stream thread!" ) ; threadProcess = new ProcessImageSetThread ( files ) ; imageSetSize = files . length ; } threadPool . execute ( threadProcess ) ; }
Opens a set of images