|
|||||||||
| Home >> All >> com >> yaftp >> [ ftp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.yaftp.ftp
Class FtpTraces

java.lang.Objectcom.yaftp.ftp.FtpTraces
- public class FtpTraces
- extends java.lang.Object
This class implements a basic FTP trace system using a standard PrintWriter
- Version:
- : 0.0.1
| Nested Class Summary | |
(package private) class |
FtpTraces._COMMAND_PANEL_
|
(package private) class |
FtpTraces._TRACE_PANEL_
|
| Field Summary | |
private com.yaftp.utils.SwingMessageArea |
_debugW
|
private static int |
_ERROR_
|
private FtpCommandSwingCombo |
_ftpCommand
|
private boolean |
_graphical
|
private static int |
_HEADER_
|
private FtpTraces._TRACE_PANEL_ |
_panel
|
private javax.swing.ImageIcon |
_RUN_ICON_
|
private javax.swing.JLabel |
_runFtp
|
private FtpClientSession |
_session
|
private static int |
_STANDARD_
|
private java.io.PrintWriter |
_trace
|
private static java.lang.String |
_TRACE_NAME_
|
private boolean |
_traceOn
|
private static int |
_WARNING_
|
| Constructor Summary | |
FtpTraces(FtpClientSession session)
Non Graphical Trace Constructor |
|
| Method Summary | |
void |
error(java.lang.String in)
|
javax.swing.JPanel |
get_debugW()
|
void |
header(java.lang.String in)
|
private void |
innerTrace(java.lang.String in,
int format)
|
private boolean |
is_closed()
|
private void |
openTraces()
|
void |
set_graphics(boolean onof)
enable or disable graphical traces |
void |
set_trace(boolean onof)
enable or disable Disk traces |
void |
stop()
Stop tracing and close trace file |
void |
trace(java.lang.String in)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_TRACE_NAME_
private static final java.lang.String _TRACE_NAME_
- See Also:
- Constant Field Values
_RUN_ICON_
private final javax.swing.ImageIcon _RUN_ICON_
_STANDARD_
private static final int _STANDARD_
- See Also:
- Constant Field Values
_HEADER_
private static final int _HEADER_
- See Also:
- Constant Field Values
_WARNING_
private static final int _WARNING_
- See Also:
- Constant Field Values
_ERROR_
private static final int _ERROR_
- See Also:
- Constant Field Values
_trace
private java.io.PrintWriter _trace
_traceOn
private boolean _traceOn
_graphical
private boolean _graphical
_session
private FtpClientSession _session
_debugW
private com.yaftp.utils.SwingMessageArea _debugW
_ftpCommand
private FtpCommandSwingCombo _ftpCommand
_runFtp
private javax.swing.JLabel _runFtp
_panel
private FtpTraces._TRACE_PANEL_ _panel
| Constructor Detail |
FtpTraces
public FtpTraces(FtpClientSession session)
- Non Graphical Trace Constructor
| Method Detail |
is_closed
private boolean is_closed()
openTraces
private void openTraces()
throws java.io.IOException
get_debugW
public javax.swing.JPanel get_debugW()
innerTrace
private void innerTrace(java.lang.String in, int format)
trace
public void trace(java.lang.String in)
header
public void header(java.lang.String in)
error
public void error(java.lang.String in)
stop
public void stop()
- Stop tracing and close trace file
set_trace
public void set_trace(boolean onof)
- enable or disable Disk traces
set_graphics
public void set_graphics(boolean onof)
- enable or disable graphical traces
|
|||||||||
| Home >> All >> com >> yaftp >> [ ftp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.yaftp.ftp.FtpTraces