Reading from a stream
Implement the getAllDataFromInputStream() method. It must return a StringWriter containing all of the data from the passed stream. Under no circumstances should null be returned. The main() method is not tested.
Writing a stack trace
Implement the getStackTrace() method, which must return the passed exception's entire stack trace as one string (a single String object). Use an appropriate method from the Throwable class. It will help you write the stack trace to a StringWriter. The main() method is not tested.
Hi, Amigo. You know we're being followed. They're looking through our mail. So we need to encrypt our traffic. Implementing a Caesar cipher won't be hard for you. Let me remind you that this is simply a right-shift along the alphabet by the number of letters indicated by the key parameter.