comparison src/ch/ethz/ssh2/sftp/AttrTextHints.java @ 273:91a31873c42a ganymed

start conversion from trilead to ganymed
author Carl Byington <carl@five-ten-sg.com>
date Fri, 18 Jul 2014 11:21:46 -0700
parents
children 071eccdff8ea
comparison
equal deleted inserted replaced
272:ce2f4e397703 273:91a31873c42a
1 /*
2 * Copyright (c) 2006-2011 Christian Plattner. All rights reserved.
3 * Please refer to the LICENSE.txt for licensing details.
4 */
5 package ch.ethz.ssh2.sftp;
6
7 /**
8 *
9 * Values for the 'text-hint' field in the SFTP ATTRS data type.
10 *
11 * @author Christian Plattner
12 * @version 2.50, 03/15/10
13 *
14 */
15 public class AttrTextHints
16 {
17 /**
18 * The server knows the file is a text file, and should be opened
19 * using the SSH_FXF_ACCESS_TEXT_MODE flag.
20 */
21 public static final int SSH_FILEXFER_ATTR_KNOWN_TEXT = 0x00;
22
23 /**
24 * The server has applied a heuristic or other mechanism and
25 * believes that the file should be opened with the
26 * SSH_FXF_ACCESS_TEXT_MODE flag.
27 */
28 public static final int SSH_FILEXFER_ATTR_GUESSED_TEXT = 0x01;
29
30 /**
31 * The server knows the file has binary content.
32 */
33 public static final int SSH_FILEXFER_ATTR_KNOWN_BINARY = 0x02;
34
35 /**
36 * The server has applied a heuristic or other mechanism and
37 * believes has binary content, and should not be opened with the
38 * SSH_FXF_ACCESS_TEXT_MODE flag.
39 */
40 public static final int SSH_FILEXFER_ATTR_GUESSED_BINARY = 0x03;
41 }