Top Fields Constructors Methods
org.mortbay.io.bio

public Class StringEndPoint

extends StreamEndPoint
Class Inheritance
Imports
java.io.ByteArrayInputStream, .ByteArrayOutputStream, .IOException, org.mortbay.util.StringUtil

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

Field Summary

Modifier and TypeField and Description
pack-priv ByteArrayInputStream
pack-priv ByteArrayOutputStream
pack-priv String
Inherited from org.mortbay.io.bio.StreamEndPoint:
_in_out

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public String
public boolean

Returns:

true if there are bytes remaining to be read from the encoded input
hasMore
()

public void
Inherited from org.mortbay.io.bio.StreamEndPoint:
blockReadableblockWritableclosefillflushflushflushgetInputStreamgetLocalAddrgetLocalHostgetLocalPortgetOutputStreamgetRemoteAddrgetRemoteHostgetRemotePortgetTransportisBlockingisBufferingInputisBufferingOutputisBufferredisClosedisOpensetInputStreamsetOutputStream

Field Detail

_binback to summary
pack-priv ByteArrayInputStream _bin
_boutback to summary
pack-priv ByteArrayOutputStream _bout
_encodingback to summary
pack-priv String _encoding

Constructor Detail

StringEndPointback to summary
public StringEndPoint()
StringEndPointback to summary
public StringEndPoint(String encoding) throws IOException

Method Detail

getOutputback to summary
public String getOutput()
hasMoreback to summary
public boolean hasMore()
Returns:boolean

true if there are bytes remaining to be read from the encoded input

setInputback to summary
public void setInput(String s)