org.mortbay.io.bio
Class StringEndPoint

java.lang.Object
  extended by org.mortbay.io.bio.StreamEndPoint
      extended by org.mortbay.io.bio.StringEndPoint
All Implemented Interfaces:
EndPoint

public class StringEndPoint
extends StreamEndPoint

Author:
gregw To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Field Summary
(package private)  ByteArrayInputStream _bin
           
(package private)  ByteArrayOutputStream _bout
           
(package private)  String _encoding
           
 
Fields inherited from class org.mortbay.io.bio.StreamEndPoint
_in, _out
 
Constructor Summary
StringEndPoint()
           
StringEndPoint(String encoding)
           
 
Method Summary
 String getOutput()
           
 boolean hasMore()
           
 void setInput(String s)
           
 
Methods inherited from class org.mortbay.io.bio.StreamEndPoint
blockReadable, blockWritable, close, fill, flush, flush, getConnection, getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, isBlocking, isOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_encoding

String _encoding

_bin

ByteArrayInputStream _bin

_bout

ByteArrayOutputStream _bout
Constructor Detail

StringEndPoint

public StringEndPoint()
               throws IOException
Throws:
IOException

StringEndPoint

public StringEndPoint(String encoding)
               throws IOException
Throws:
IOException
Method Detail

setInput

public void setInput(String s)

getOutput

public String getOutput()

hasMore

public boolean hasMore()
Returns: