KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > alfresco > filesys > smb > FileInfoLevel


1 /*
2  * Copyright (C) 2005 Alfresco, Inc.
3  *
4  * Licensed under the Mozilla Public License version 1.1
5  * with a permitted attribution clause. You may obtain a
6  * copy of the License at
7  *
8  * http://www.alfresco.org/legal/license.txt
9  *
10  * Unless required by applicable law or agreed to in writing,
11  * software distributed under the License is distributed on an
12  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13  * either express or implied. See the License for the specific
14  * language governing permissions and limitations under the
15  * License.
16  */

17 package org.alfresco.filesys.smb;
18
19 /**
20  * File Information Levels class. This class contains the file information levels that may be
21  * requested in the various Transact2 requests.
22  */

23 public class FileInfoLevel
24 {
25
26     // Find first/next information levels
27

28     public static final int FindStandard = 0x0001;
29     public static final int FindQueryEASize = 0x0002;
30     public static final int FindQueryEAsList = 0x0003;
31     public static final int FindFileDirectory = 0x0101;
32     public static final int FindFileFullDirectory = 0x0102;
33     public static final int FindFileNames = 0x0103;
34     public static final int FindFileBothDirectory = 0x0104;
35
36     // File information levels
37

38     public static final int SetStandard = 0x0001;
39     public static final int SetQueryEASize = 0x0002;
40     public static final int SetBasicInfo = 0x0101;
41     public static final int SetDispositionInfo = 0x0102;
42     public static final int SetAllocationInfo = 0x0103;
43     public static final int SetEndOfFileInfo = 0x0104;
44
45     // Query path information levels
46

47     public static final int PathStandard = 0x0001;
48     public static final int PathQueryEASize = 0x0002;
49     public static final int PathQueryEAsFromList = 0x0003;
50     public static final int PathAllEAs = 0x0004;
51     public static final int PathIsNameValid = 0x0006;
52     public static final int PathFileBasicInfo = 0x0101;
53     public static final int PathFileStandardInfo = 0x0102;
54     public static final int PathFileEAInfo = 0x0103;
55     public static final int PathFileNameInfo = 0x0104;
56     public static final int PathFileAllInfo = 0x0107;
57     public static final int PathFileAltNameInfo = 0x0108;
58     public static final int PathFileStreamInfo = 0x0109;
59     public static final int PathFileCompressionInfo = 0x010B;
60
61     // Filesystem query information levels
62

63     public static final int FSInfoAllocation = 0x0001;
64     public static final int FSInfoVolume = 0x0002;
65     public static final int FSInfoQueryVolume = 0x0102;
66     public static final int FSInfoQuerySize = 0x0103;
67     public static final int FSInfoQueryDevice = 0x0104;
68     public static final int FSInfoQueryAttribute = 0x0105;
69
70     // NT pasthru levels
71

72     public static final int NTFileBasicInfo = 1004;
73     public static final int NTFileStandardInfo = 1005;
74     public static final int NTFileInternalInfo = 1006;
75     public static final int NTFileEAInfo = 1007;
76     public static final int NTFileAccessInfo = 1008;
77     public static final int NTFileNameInfo = 1009;
78     public static final int NTFileRenameInfo = 1010;
79     public static final int NTFileDispositionInfo = 1013;
80     public static final int NTFilePositionInfo = 1014;
81     public static final int NTFileModeInfo = 1016;
82     public static final int NTFileAlignmentInfo = 1017;
83     public static final int NTFileAllInfo = 1018;
84     public static final int NTFileAltNameInfo = 1021;
85     public static final int NTFileStreamInfo = 1022;
86     public static final int NTFileCompressionInfo = 1028;
87     public static final int NTNetworkOpenInfo = 1034;
88     public static final int NTAttributeTagInfo = 1035;
89 }
Popular Tags