This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<job id="main"> | |
<runtime> | |
<description> | |
Print everything in a folder (and its subfolders, recursively) | |
to the default printer. (c) 2011 mstephenson6, please share | |
with friends, bsd license | |
</description> | |
</runtime> | |
<resource id="WelcomeText">PrintEverything - easy way to print all files in a folder and its subfolders</resource> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.demo; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.scheduling.annotation.Async; | |
import org.springframework.scheduling.annotation.AsyncResult; | |
import org.springframework.stereotype.Component; | |
import java.util.concurrent.Future; | |
import java.util.concurrent.ThreadLocalRandom; |