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

com.hierynomus.msfscc.FileAttributes Maven / Gradle / Ivy

There is a newer version: 0.13.0
Show newest version
/*
 * Copyright (C)2016 - SMBJ Contributors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hierynomus.msfscc;

import com.hierynomus.protocol.commons.EnumWithValue;

/**
 * [MS-FSCC].pdf 2.6 File Attributes
 */
public enum FileAttributes implements EnumWithValue {
    FILE_ATTRIBUTE_ARCHIVE(0x00000020L),
    FILE_ATTRIBUTE_COMPRESSED(0x00000800L),
    FILE_ATTRIBUTE_DIRECTORY(0x00000010L),
    FILE_ATTRIBUTE_ENCRYPTED(0x00004000L),
    FILE_ATTRIBUTE_HIDDEN(0x00000002L),
    FILE_ATTRIBUTE_NORMAL(0x00000080L),
    FILE_ATTRIBUTE_NOT_CONTENT_INDEXED(0x00002000L),
    FILE_ATTRIBUTE_OFFLINE(0x00001000L),
    FILE_ATTRIBUTE_READONLY(0x00000001L),
    FILE_ATTRIBUTE_REPARSE_POINT(0x00000400L),
    FILE_ATTRIBUTE_SPARSE_FILE(0x00000200L),
    FILE_ATTRIBUTE_SYSTEM(0x00000004L),
    FILE_ATTRIBUTE_TEMPORARY(0x00000100L),
    FILE_ATTRIBUTE_INTEGRITY_STREAM(0x00008000L),
    FILE_ATTRIBUTE_NO_SCRUB_DATA(0x00020000L);

    private long value;

    FileAttributes(long value) {
        this.value = value;
    }

    public long getValue() {
        return value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy