|
||||||||||
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
public class 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(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(String str)
Write a string |
void |
write(String str,
int off,
int len)
Write a portion of the string. |
Methods inherited from class java.io.Writer |
---|
append, append, append |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FtpWriter(Socket soc, FtpConfig config) throws IOException
IOException
Method Detail |
---|
public SpyConnectionInterface getSpyObject()
public void setSpyObject(SpyConnectionInterface spy)
public void write(char[] cbuf) throws IOException
write
in class Writer
IOException
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
public void write(int c) throws IOException
write
in class Writer
IOException
public void write(String str) throws IOException
write
in class Writer
IOException
public void write(String str, int off, int len) throws IOException
write
in class Writer
IOException
public void close() throws IOException
close
in interface Closeable
close
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |