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