Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.cli.io
Class StreamIOAdapter

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

public class StreamIOAdapter
extends Object
implements IOAdapter


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

Constructor Detail

StreamIOAdapter

public StreamIOAdapter()
Method Detail

isInteractive

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

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

readln

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

secureReadln

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

getWidth

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

close

public void close()
Specified by:
close in interface IOAdapter

Infinispan Distribution 5.2.6.Final-redhat-2

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