com.jtstand.io
Class InputSession
java.lang.Object
com.jtstand.io.InputSession
- All Implemented Interfaces:
- groovy.lang.GroovyObject, java.io.Closeable
public class InputSession
- extends java.lang.Object
- implements groovy.lang.GroovyObject, java.io.Closeable
- Author:
- albert_kurucz
|
Constructor Summary |
InputSession(java.io.InputStream inputStream)
|
InputSession(java.io.InputStream inputStream,
java.lang.String charactersetName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputSession
public InputSession(java.io.InputStream inputStream,
java.lang.String charactersetName)
InputSession
public InputSession(java.io.InputStream inputStream)
getBuffersize
public static final int getBuffersize()
getInputData
public byte[] getInputData()
setInputData
public void setInputData(byte[] value)
getThread
public java.lang.Thread getThread()
setThread
public void setThread(java.lang.Thread value)
getStringBuffer
public java.lang.StringBuffer getStringBuffer()
setStringBuffer
public void setStringBuffer(java.lang.StringBuffer value)
getCaret
public int getCaret()
setCaret
public void setCaret(int value)
getCharactersetName
public java.lang.String getCharactersetName()
setCharactersetName
public void setCharactersetName(java.lang.String value)
getInputStream
public java.io.InputStream getInputStream()
getPipes
public java.util.Set getPipes()
setPipes
public void setPipes(java.util.Set value)
getAborted
public boolean getAborted()
isAborted
public boolean isAborted()
setAborted
public void setAborted(boolean value)
getClosed
public boolean getClosed()
isClosed
public boolean isClosed()
setClosed
public void setClosed(boolean value)
getTimedOut
public boolean getTimedOut()
isTimedOut
public boolean isTimedOut()
setTimedOut
public void setTimedOut(boolean value)
getExpirationTime
public long getExpirationTime()
setExpirationTime
public void setExpirationTime(long value)
getGroup
public java.lang.String getGroup()
setGroup
public void setGroup(java.lang.String value)
getReceivedUntil
public java.lang.String getReceivedUntil()
setReceivedUntil
public void setReceivedUntil(java.lang.String value)
getReceivedObject
public java.lang.Object getReceivedObject()
setReceivedObject
public void setReceivedObject(java.lang.Object value)
getExpectations
public java.lang.Object getExpectations()
getLock
public final java.lang.Object getLock()
setExpectations
public void setExpectations(java.lang.Object expectations)
expect
public java.lang.String expect(java.lang.Object expectations,
long timeout)
setInputStream
public void setInputStream(java.io.InputStream inputStream)
add
public void add(byte[] data,
int start,
int total)
add
public void add(java.lang.String string)
check
protected boolean check(java.lang.String string)
abort
public void abort()
close
public void close()
- Specified by:
close in interface java.io.Closeable
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
Copyright © 2009-2010 jtstand.com. All Rights Reserved.