|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.finj.FTPConstants
public class FTPConstants
Class that gathers project wide constants.
Copyright (C) 2000-2008 Javier Iglesias.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
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. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.Locale DEFAULT_LOCALE
Locale
used when none is provided
at construction time.
public static final int DEFAULT_FTP_PORT
public static final int ASCII_DATA_TYPE
public static final int EBCDIC_DATA_TYPE
public static final int IMAGE_DATA_TYPE
public static final int LOCAL_DATA_TYPE
public static final int FILE_DATA_STRUCTURE
setTransferStructure
has not been used. There is no internal structure and the
file is considered to be a continuous sequence of data bytes.
public static final int RECORD_DATA_STRUCTURE
public static final int PAGE_DATA_STRUCTURE
public static final int STREAM_DATA_TRANSMISSION_MODE
public static final int BLOCK_DATA_TRANSMISSION_MODE
public static final int COMPRESSED_DATA_TRANSMISSION_MODE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |