public class

AttrTextHints

extends Object
java.lang.Object
   ↳ com.trilead.ssh2.sftp.AttrTextHints

Class Overview

Values for the 'text-hint' field in the SFTP ATTRS data type.

Summary

Constants
int SSH_FILEXFER_ATTR_GUESSED_BINARY 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.
int SSH_FILEXFER_ATTR_GUESSED_TEXT 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.
int SSH_FILEXFER_ATTR_KNOWN_BINARY The server knows the file has binary content.
int SSH_FILEXFER_ATTR_KNOWN_TEXT The server knows the file is a text file, and should be opened using the SSH_FXF_ACCESS_TEXT_MODE flag.
Public Constructors
AttrTextHints()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int SSH_FILEXFER_ATTR_GUESSED_BINARY

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.

Constant Value: 3 (0x00000003)

public static final int SSH_FILEXFER_ATTR_GUESSED_TEXT

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.

Constant Value: 1 (0x00000001)

public static final int SSH_FILEXFER_ATTR_KNOWN_BINARY

The server knows the file has binary content.

Constant Value: 2 (0x00000002)

public static final int SSH_FILEXFER_ATTR_KNOWN_TEXT

The server knows the file is a text file, and should be opened using the SSH_FXF_ACCESS_TEXT_MODE flag.

Constant Value: 0 (0x00000000)

Public Constructors

public AttrTextHints ()