All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.filesys.smb.FileInfoLevel Maven / Gradle / Ivy

Go to download

Java file server with SMB, FTP/FTPS and NFS support, virtual filesystems, database filesystems

There is a newer version: 1.4.0
Show newest version
/*
 * Copyright (C) 2006-2010 Alfresco Software Limited.
 * Copyright (C) 2018 GK Spencer
 *
 * This file is part of Alfresco
 *
 * Alfresco is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Alfresco is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Alfresco. If not, see .
 */

package org.filesys.smb;

/**
 * File Information Levels class.
 * 
 * This class contains the file information levels that may be requested in the
 * various Transact2 requests.
 * 
 * @author gkspencer
 */
public class FileInfoLevel {

	// Find first/next information levels
	public static final int FindStandard 			= 0x0001;
	public static final int FindQueryEASize 		= 0x0002;
	public static final int FindQueryEAsList 		= 0x0003;
	public static final int FindFileDirectory 		= 0x0101;
	public static final int FindFileFullDirectory 	= 0x0102;
	public static final int FindFileNames 			= 0x0103;
	public static final int FindFileBothDirectory 	= 0x0104;

	// File information levels
	public static final int SetStandard 			= 0x0001;
	public static final int SetQueryEASize 			= 0x0002;
	public static final int SetBasicInfo 			= 0x0101;
	public static final int SetDispositionInfo 		= 0x0102;
	public static final int SetAllocationInfo 		= 0x0103;
	public static final int SetEndOfFileInfo 		= 0x0104;

	// Query path information levels
	public static final int PathStandard 			= 0x0001;
	public static final int PathQueryEASize 		= 0x0002;
	public static final int PathQueryEAsFromList 	= 0x0003;
	public static final int PathAllEAs 				= 0x0004;
	public static final int PathIsNameValid 		= 0x0006;
	public static final int PathFileBasicInfo 		= 0x0101;
	public static final int PathFileStandardInfo 	= 0x0102;
	public static final int PathFileEAInfo 			= 0x0103;
	public static final int PathFileNameInfo 		= 0x0104;
	public static final int PathFileAllInfo 		= 0x0107;
	public static final int PathFileAltNameInfo 	= 0x0108;
	public static final int PathFileStreamInfo 		= 0x0109;
	public static final int PathFileCompressionInfo = 0x010B;

	// Filesystem query information levels
	public static final int FSInfoAllocation 		= 0x0001;
	public static final int FSInfoVolume 			= 0x0002;
	public static final int FSInfoQueryVolume 		= 0x0102;
	public static final int FSInfoQuerySize 		= 0x0103;
	public static final int FSInfoQueryDevice 		= 0x0104;
	public static final int FSInfoQueryAttribute 	= 0x0105;

	// NT passthru levels
	public static final int NTFileDirectoryInfo		= 1001;
	public static final int NTFileFullDirectoryInfo = 1002;
	public static final int NTFileBothDirectoryInfo	= 1003;
	public static final int NTFileBasicInfo 		= 1004;
	public static final int NTFileStandardInfo 		= 1005;
	public static final int NTFileInternalInfo 		= 1006;
	public static final int NTFileEAInfo 			= 1007;
	public static final int NTFileAccessInfo 		= 1008;
	public static final int NTFileNameInfo 			= 1009;
	public static final int NTFileRenameInfo 		= 1010;
	public static final int NTFileLinkInfo			= 1011;
	public static final int NTFileNamesInfo			= 1012;
	public static final int NTFileDispositionInfo 	= 1013;
	public static final int NTFilePositionInfo 		= 1014;
	public static final int NTFileFullEAInfo		= 1015;
	public static final int NTFileModeInfo 			= 1016;
	public static final int NTFileAlignmentInfo 	= 1017;
	public static final int NTFileAllInfo 			= 1018;
	public static final int NTSetFileAllocationInfo = 1019;
	public static final int NTSetEndOfFileInfo		= 1020;
	public static final int NTFileAltNameInfo 		= 1021;
	public static final int NTFileStreamInfo 		= 1022;
	public static final int NTFilePipeInfo			= 1023;
	public static final int NTFilePipeLocalInfo		= 1024;
	public static final int NTFilePipeRemoteInfo	= 1025;
	public static final int NTFileMailslotQuery		= 1026;
	public static final int NTFileMailslotSet		= 1027;
	public static final int NTFileCompressionInfo 	= 1028;
	public static final int NTFileObjectIdInfo		= 1029;
	public static final int NTFileCompletionInfo	= 1030;
	public static final int NTFileMoveClusterInfo	= 1031;
	public static final int NTFileQuotaInfo			= 1032;
	public static final int NTFileReparsepointInfo	= 1033;
	public static final int NTNetworkOpenInfo 		= 1034;
	public static final int NTAttributeTagInfo 		= 1035;
	public static final int NTFileTrackingInfo		= 1036;
	public static final int NTFileNormalizedName	= 1048;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy