Mercurial > 510Connectbot
comparison app/src/main/java/ch/ethz/ssh2/sftp/AttribTypes.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/AttribTypes.java@91a31873c42a |
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 * Types for the 'type' field in the SFTP ATTRS data type. | |
9 * <p/> | |
10 * "<i>On a POSIX system, these values would be derived from the mode field | |
11 * of the stat structure. SPECIAL should be used for files that are of | |
12 * a known type which cannot be expressed in the protocol. UNKNOWN | |
13 * should be used if the type is not known.</i>" | |
14 * | |
15 * @author Christian Plattner | |
16 * @version 2.50, 03/15/10 | |
17 */ | |
18 public final class AttribTypes { | |
19 private AttribTypes() { | |
20 } | |
21 | |
22 public static final int SSH_FILEXFER_TYPE_REGULAR = 1; | |
23 public static final int SSH_FILEXFER_TYPE_DIRECTORY = 2; | |
24 public static final int SSH_FILEXFER_TYPE_SYMLINK = 3; | |
25 public static final int SSH_FILEXFER_TYPE_SPECIAL = 4; | |
26 /** | |
27 * Should be used if the type is not known. | |
28 */ | |
29 public static final int SSH_FILEXFER_TYPE_UNKNOWN = 5; | |
30 public static final int SSH_FILEXFER_TYPE_SOCKET = 6; | |
31 public static final int SSH_FILEXFER_TYPE_CHAR_DEVICE = 7; | |
32 public static final int SSH_FILEXFER_TYPE_BLOCK_DEVICE = 8; | |
33 public static final int SSH_FILEXFER_TYPE_FIFO = 9; | |
34 } |