Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/sftp/AttribTypes.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 |
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 * 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 } |