comparison app/src/main/java/ch/ethz/ssh2/sftp/AttrTextHints.java @ 438:d29cce60f393

migrate from Eclipse to Android Studio
author Carl Byington <carl@five-ten-sg.com>
date Thu, 03 Dec 2015 11:23:55 -0800
parents src/ch/ethz/ssh2/sftp/AttrTextHints.java@071eccdff8ea
children
comparison
equal deleted inserted replaced
437:208b31032318 438:d29cce60f393
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 * The server knows the file is a text file, and should be opened
18 * using the SSH_FXF_ACCESS_TEXT_MODE flag.
19 */
20 public static final int SSH_FILEXFER_ATTR_KNOWN_TEXT = 0x00;
21
22 /**
23 * The server has applied a heuristic or other mechanism and
24 * believes that the file should be opened with the
25 * SSH_FXF_ACCESS_TEXT_MODE flag.
26 */
27 public static final int SSH_FILEXFER_ATTR_GUESSED_TEXT = 0x01;
28
29 /**
30 * The server knows the file has binary content.
31 */
32 public static final int SSH_FILEXFER_ATTR_KNOWN_BINARY = 0x02;
33
34 /**
35 * The server has applied a heuristic or other mechanism and
36 * believes has binary content, and should not be opened with the
37 * SSH_FXF_ACCESS_TEXT_MODE flag.
38 */
39 public static final int SSH_FILEXFER_ATTR_GUESSED_BINARY = 0x03;
40 }