|
|||||||||
| Home >> All >> org >> [ finj overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.finj
Class FTPConstants

java.lang.Objectorg.finj.FTPConstants
- public class FTPConstants
- extends java.lang.Object
Class that gathers project wide constants.
- Version:
- $Id$
| Field Summary | |
static int |
ASCII_DATA_TYPE
Default transfer type, intended primarily for the transfer of text files except when both hosts would find EBCDIC more convenient. |
static int |
BLOCK_DATA_TRANSMISSION_MODE
The file is transmitted as a series of data blocks preceded by one or more header bytes. |
static int |
COMPRESSED_DATA_TRANSMISSION_MODE
There are three kinds of information to be sent : regular data, sent in a byte string; compressed data, consisting of replications or filler; and control information, sent in a two-byte escape sequence. |
static int |
DEFAULT_FTP_PORT
Default FTP port value is '21'. |
static java.util.Locale |
DEFAULT_LOCALE
Default Locale used when none is provided
at construction time. |
static int |
EBCDIC_DATA_TYPE
Intended for efficient transfer between hosts which use EBCDIC for their internal character representation. |
static int |
FILE_DATA_STRUCTURE
Default structure assumed if the setTransferStructure
has not been used. |
static int |
IMAGE_DATA_TYPE
Data are sent as contiguous bits which, for transfer, are packed into the 8-bit transfer bytes. |
static int |
LOCAL_DATA_TYPE
Data is transferred in logical bytes of the size specified by the obligatory sceond parameter, Byte size. |
static int |
PAGE_DATA_STRUCTURE
To transmit files that are discontinuous, FTP defines a page structure. |
static int |
RECORD_DATA_STRUCTURE
Record structures must be accepted for "text" files (i.e., files with ASCII or EBCDIC types) by all FTP implementations. |
static int |
STREAM_DATA_TRANSMISSION_MODE
The data is transmitted as a stream of bytes. |
| Constructor Summary | |
private |
FTPConstants()
Useless, parameterless constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
DEFAULT_LOCALE
public static final java.util.Locale DEFAULT_LOCALE
- Default
Localeused when none is provided at construction time.- Since:
- v1.0
DEFAULT_FTP_PORT
public static final int DEFAULT_FTP_PORT
- Default FTP port value is '21'.
- Since:
- v1.0
- See Also:
- "RFC959-??", Constant Field Values
ASCII_DATA_TYPE
public static final int ASCII_DATA_TYPE
- Default transfer type, intended primarily for the
transfer of text files except when both hosts would
find EBCDIC more convenient.
- Since:
- v1.0
- See Also:
- "RFC959-3:1:1:1", Constant Field Values
EBCDIC_DATA_TYPE
public static final int EBCDIC_DATA_TYPE
- Intended for efficient transfer between hosts which
use EBCDIC for their internal character representation.
- Since:
- v1.0
- See Also:
- "RFC959-3:1:1:2", Constant Field Values
IMAGE_DATA_TYPE
public static final int IMAGE_DATA_TYPE
- Data are sent as contiguous bits which, for transfer,
are packed into the 8-bit transfer bytes.
[API DISCUSSION : wouldn't you prefer 'BINARY_DATA_TYPE']
- Since:
- v1.0
- See Also:
- "RFC959-3:1:1:3", Constant Field Values
LOCAL_DATA_TYPE
public static final int LOCAL_DATA_TYPE
- Data is transferred in logical bytes of the size
specified by the obligatory sceond parameter, Byte size.
- Since:
- v1.0
- See Also:
- "RFC959-3:1:1:4", Constant Field Values
FILE_DATA_STRUCTURE
public static final int FILE_DATA_STRUCTURE
- Default structure assumed if the
setTransferStructurehas not been used. There is no internal structure and the file is considered to be a continuous sequence of data bytes.- Since:
- v1.0
- See Also:
- "RFC959-3:1:2:1", Constant Field Values
RECORD_DATA_STRUCTURE
public static final int RECORD_DATA_STRUCTURE
- Record structures must be accepted for "text" files
(i.e., files with ASCII or EBCDIC types) by all FTP
implementations.
- Since:
- v1.0
- See Also:
- "RFC959-3:1:2:2", Constant Field Values
PAGE_DATA_STRUCTURE
public static final int PAGE_DATA_STRUCTURE
- To transmit files that are discontinuous, FTP defines a
page structure. File of this type are sometimes known as
"random access files" or even as "holey files".
In these files there is sometimes other information
associated with the file as a whole (e.g., a file descriptor),
or with a section of the file (e.g., page access controls),
or both. In FTP, the sections of the file are called pages.
each page is sent with a page header.
- Since:
- v1.0
- See Also:
- "RFC959-3:1:2:3", Constant Field Values
STREAM_DATA_TRANSMISSION_MODE
public static final int STREAM_DATA_TRANSMISSION_MODE
- The data is transmitted as a stream of bytes. There is no
restriction on the representation type used; record structures
are allowed.
- Since:
- v1.0
- See Also:
- "RFC959-3:4:1", Constant Field Values
BLOCK_DATA_TRANSMISSION_MODE
public static final int BLOCK_DATA_TRANSMISSION_MODE
- The file is transmitted as a series of data blocks preceded
by one or more header bytes. Record structures are allowed
in this mode, and any representation type may be used.
- Since:
- v1.0
- See Also:
- "RFC959-3:4:2", Constant Field Values
COMPRESSED_DATA_TRANSMISSION_MODE
public static final int COMPRESSED_DATA_TRANSMISSION_MODE
- There are three kinds of information to be sent : regular
data, sent in a byte string; compressed data, consisting
of replications or filler; and control information, sent in
a two-byte escape sequence. Compressed mode is useful for
obtaining increased bandwidth on very large netword
transmissions at a litle extra CPU cost. It can be most
effectively used to reduce the size of printer files such
as those generated by RJE hosts.
- Since:
- v1.0
- See Also:
- "RFC959-3:4:3", Constant Field Values
| Constructor Detail |
FTPConstants
private FTPConstants()
- Useless, parameterless constructor.
- Since:
- v1.0
|
|||||||||
| Home >> All >> org >> [ finj overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.finj.FTPConstants