public class InputSource
convenience class to open input streams linked to files, stdin, and strings
public static InputSource openFile(java.lang.String name)
open file for reading
name - file namepublic static InputSource openStdIn()
open standard input
public static InputSource openString(java.lang.String input)
"open" string for reading
input - string serving as source