Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f333e54f39c7cf7725ce9596561f3bb7c7e4aa01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*******************************************************************************
 * Copyright (c) 2011, 2012 Wind River Systems, Inc. and others. All rights reserved.
 * This program and the accompanying materials are made available under the terms
 * of the Eclipse Public License v1.0 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Wind River Systems - initial API and implementation
 *******************************************************************************/
package org.eclipse.tcf.te.tcf.filesystem.core.interfaces;

/**
 * Windows specific file system attribute definitions.
 *
 * @see <nop>Windows File Attribute Constants for more details.
 */
public interface IWindowsFileAttributes {

	/**
	 * If set, the file is read-only. Read-only files cannot be modified or deleted.
	 * The attributes does not apply to directories.
	 */
	public int FILE_ATTRIBUTE_READONLY				=	1;

	/**
	 * If set, the file or directory is hidden. Hidden files or directories should not
	 * be included in default directory content lists.
	 */
	public int FILE_ATTRIBUTE_HIDDEN				=	2;

	/**
	 * If set, the file or directory is reserved to be used by the OS.
	 */
	public int FILE_ATTRIBUTE_SYSTEM				=	4;

	/**
	 * The file system object is a directory.
	 */
	public int FILE_ATTRIBUTE_DIRECTORY				=	16;

	/**
	 * If set, the file or directory is an archive file or directory.
	 */
	public int FILE_ATTRIBUTE_ARCHIVE				=	32;

	/**
	 * Reserved for system use.
	 */
	public int FILE_ATTRIBUTE_DEVICE				=	64;

	/**
	 * The file system object is a file with no other attributes set. Valid
	 * only if used exclusively.
	 */
	public int FILE_ATTRIBUTE_NORMAL				=	128;

	/**
	 * If set, the file is used for temporary storage.
	 */
	public int FILE_ATTRIBUTE_TEMPORARY				=	256;

	/**
	 * The file is a sparse file.
	 */
	public int FILE_ATTRIBUTE_SPARSE_FILE			=	512;

	/**
	 * If set, the file or directory has an associated reparse point or is a symbolic link.
	 */
	public int FILE_ATTRIBUTE_REPARSE_POINT			=	1024;

	/**
	 * If set, the file or directory is compressed.
	 */
	public int FILE_ATTRIBUTE_COMPRESSED			=	2048;

	/**
	 * If set, the content of the file is currently not available.
	 * This attribute should not be changed by applications.
	 */
	public int FILE_ATTRIBUTE_OFFLINE				=	4096;

	/**
	 * If set, the file or directory is not indexed.
	 */
	public int FILE_ATTRIBUTE_NOT_CONTENT_INDEXED	=	8192;

	/**
	 * If set, the file or directory is encrypted.
	 */
	public int FILE_ATTRIBUTE_ENCRYPTED				=	16384;

	/**
	 * Reserved for system use.
	 */
	public int FILE_ATTRIBUTE_VIRTUAL				=	65536;
}

Back to the top