KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > alfresco > filesys > server > filesys > FileSystem


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.server.filesys;
18
19 /**
20  * Filesystem Attributes Class
21  * <p>
22  * Contains constant attributes used to define filesystem features available. The values are taken
23  * from the SMB/CIFS protocol query filesystem call.
24  */

25 public final class FileSystem
26 {
27
28     // Filesystem attributes
29

30     public static final int CaseSensitiveSearch = 0x00000001;
31     public static final int CasePreservedNames = 0x00000002;
32     public static final int UnicodeOnDisk = 0x00000004;
33     public static final int PersistentACLs = 0x00000008;
34     public static final int FileCompression = 0x00000010;
35     public static final int VolumeQuotas = 0x00000020;
36     public static final int SparseFiles = 0x00000040;
37     public static final int ReparsePoints = 0x00000080;
38     public static final int RemoteStorage = 0x00000100;
39     public static final int VolumeIsCompressed = 0x00008000;
40     public static final int ObjectIds = 0x00010000;
41     public static final int Encryption = 0x00020000;
42     
43     // Filesystem type strings
44

45     public static final String JavaDoc TypeFAT = "FAT";
46     public static final String JavaDoc TypeNTFS = "NTFS";
47 }
48
Popular Tags