|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscriptella.driver.text.ConsoleAdapters
public class ConsoleAdapters
Pre Java SE 6 adapters for System.in and System.out
TODO: Move this class to a spi.support.text package.
| Constructor Summary | |
|---|---|
ConsoleAdapters()
|
|
| Method Summary | |
|---|---|
static java.io.Reader |
getConsoleReader(java.lang.String charsetName)
Returns the reader for System.in. |
static java.io.Writer |
getConsoleWriter(java.lang.String charsetName)
Returns the writer for System.out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleAdapters()
| Method Detail |
|---|
public static java.io.Reader getConsoleReader(java.lang.String charsetName)
throws java.io.UnsupportedEncodingException
charsetName - charset name, can be null.
java.io.UnsupportedEncodingException - if specified charset is unsupported
public static java.io.Writer getConsoleWriter(java.lang.String charsetName)
throws java.io.UnsupportedEncodingException
charsetName - charset name, can be null.
java.io.UnsupportedEncodingException - if specified charset is unsupported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||