|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
org.apache.ftpserver.FtpWriter
Writer object used by the server. It has the spying capability.
Field Summary |
Fields inherited from class java.io.Writer |
lock |
Constructor Summary | |
FtpWriter(java.net.Socket soc,
FtpConfig config)
Constructor - set the actual writer object |
Method Summary | |
void |
close()
Close writer. |
void |
flush()
Flush the stream |
SpyConnectionInterface |
getSpyObject()
Get the spy object to get what the user is writing. |
void |
setSpyObject(SpyConnectionInterface spy)
Set the connection spy object. |
void |
write(char[] cbuf)
Write a character array. |
void |
write(char[] cbuf,
int off,
int len)
Write a portion of character array |
void |
write(int c)
Write a single character |
void |
write(java.lang.String str)
Write a string |
void |
write(java.lang.String str,
int off,
int len)
Write a portion of the string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FtpWriter(java.net.Socket soc, FtpConfig config) throws java.io.IOException
Method Detail |
public SpyConnectionInterface getSpyObject()
public void setSpyObject(SpyConnectionInterface spy)
public void write(char[] cbuf) throws java.io.IOException
java.io.IOException
public void write(char[] cbuf, int off, int len) throws java.io.IOException
java.io.IOException
public void write(int c) throws java.io.IOException
java.io.IOException
public void write(java.lang.String str) throws java.io.IOException
java.io.IOException
public void write(java.lang.String str, int off, int len) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |