com.liferay.portal.kernel.io
Class CharPipe
java.lang.Object
com.liferay.portal.kernel.io.CharPipe
public class CharPipe
- extends java.lang.Object
- Author:
- Shuyang Zhou
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
protected char[] buffer
bufferLock
protected java.util.concurrent.locks.Lock bufferLock
count
protected int count
finished
protected boolean finished
notEmpty
protected java.util.concurrent.locks.Condition notEmpty
notFull
protected java.util.concurrent.locks.Condition notFull
readIndex
protected int readIndex
writeIndex
protected int writeIndex
CharPipe
public CharPipe()
CharPipe
public CharPipe(int bufferSize)
close
public void close()
close
public void close(boolean force)
getReader
public java.io.Reader getReader()
getWriter
public java.io.Writer getWriter()