Package com.trilead.ssh2.sftp
Class AttrTextHints
java.lang.Object
com.trilead.ssh2.sftp.AttrTextHints
Values for the 'text-hint' field in the SFTP ATTRS data type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The server has applied a heuristic or other mechanism and believes has binary content, and should not be opened with the SSH_FXF_ACCESS_TEXT_MODE flag.static final int
The server has applied a heuristic or other mechanism and believes that the file should be opened with the SSH_FXF_ACCESS_TEXT_MODE flag.static final int
The server knows the file has binary content.static final int
The server knows the file is a text file, and should be opened using the SSH_FXF_ACCESS_TEXT_MODE flag. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SSH_FILEXFER_ATTR_KNOWN_TEXT
public static final int SSH_FILEXFER_ATTR_KNOWN_TEXTThe server knows the file is a text file, and should be opened using the SSH_FXF_ACCESS_TEXT_MODE flag.- See Also:
-
SSH_FILEXFER_ATTR_GUESSED_TEXT
public static final int SSH_FILEXFER_ATTR_GUESSED_TEXTThe server has applied a heuristic or other mechanism and believes that the file should be opened with the SSH_FXF_ACCESS_TEXT_MODE flag.- See Also:
-
SSH_FILEXFER_ATTR_KNOWN_BINARY
public static final int SSH_FILEXFER_ATTR_KNOWN_BINARYThe server knows the file has binary content.- See Also:
-
SSH_FILEXFER_ATTR_GUESSED_BINARY
public static final int SSH_FILEXFER_ATTR_GUESSED_BINARYThe server has applied a heuristic or other mechanism and believes has binary content, and should not be opened with the SSH_FXF_ACCESS_TEXT_MODE flag.- See Also:
-
-
Constructor Details
-
AttrTextHints
public AttrTextHints()
-