Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.cli.io
Class ConsoleIOAdapter

java.lang.Object
  extended by org.infinispan.cli.io.ConsoleIOAdapter
All Implemented Interfaces:
IOAdapter

public class ConsoleIOAdapter
extends Object
implements IOAdapter


Constructor Summary
ConsoleIOAdapter(org.jboss.aesh.console.Console console)
           
 
Method Summary
 void close()
           
 void error(String s)
           
 int getWidth()
           
 boolean isInteractive()
           
 void println(String s)
           
 String readln(String prompt)
           
 String secureReadln(String prompt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleIOAdapter

public ConsoleIOAdapter(org.jboss.aesh.console.Console console)
Method Detail

isInteractive

public boolean isInteractive()
Specified by:
isInteractive in interface IOAdapter

readln

public String readln(String prompt)
              throws IOException
Specified by:
readln in interface IOAdapter
Throws:
IOException

secureReadln

public String secureReadln(String prompt)
                    throws IOException
Specified by:
secureReadln in interface IOAdapter
Throws:
IOException

println

public void println(String s)
             throws IOException
Specified by:
println in interface IOAdapter
Throws:
IOException

error

public void error(String s)
           throws IOException
Specified by:
error in interface IOAdapter
Throws:
IOException

getWidth

public int getWidth()
Specified by:
getWidth in interface IOAdapter

close

public void close()
           throws IOException
Specified by:
close in interface IOAdapter
Throws:
IOException

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.