Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for FileInformation (0.1 sec)

  1. src/main/java/jcifs/internal/fscc/FileInformation.java

     * Defines common functionality for various SMB2/SMB3 file information classes used in
     * query and set file information operations, with constants for information levels.
     *
     * @author mbechler
     */
    public interface FileInformation extends Decodable, Encodable {
    
        // information levels
    
        /**
         * File end-of-file information class constant.
         */
        byte FILE_ENDOFFILE_INFO = 20;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

         * @return
         */
        static long mapInformationLevel(final int il) {
            switch (il) {
            case FileInformation.FILE_BASIC_INFO:
                return 0x0101;
            case FileInformation.FILE_STANDARD_INFO:
                return 0x0102;
            case FileInformation.FILE_ENDOFFILE_INFO:
                return 0x0104;
            }
            throw new IllegalArgumentException("Unsupported information level " + il);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            return 20 + 2 * this.fileName.length();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel()
         */
        @Override
        public byte getFileInformationLevel() {
            return FileInformation.FILE_RENAME_INFO;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

     *
     * @author mbechler
     */
    public class FileEndOfFileInformation implements FileInformation, Encodable {
    
        private long endOfFile;
    
        /**
         * Default constructor for decoding.
         */
        public FileEndOfFileInformation() {
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

        private final int fid;
        private final FileInformation info;
    
        /**
         * Constructs a Trans2SetFileInformation request with file information object.
         *
         * @param config the SMB configuration
         * @param fid the file identifier
         * @param info the file information to set
         */
        public Trans2SetFileInformation(final Configuration config, final int fid, final FileInformation info) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

     *
     * @author mbechler
     */
    public class FileInternalInfo implements FileInformation {
    
        private long indexNumber;
    
        /**
         * Default constructor for decoding file internal information.
         */
        public FileInternalInfo() {
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            final int start = bufferIndex;
            final FileInformation inf = createFileInformation();
            if (inf != null) {
                bufferIndex += inf.decode(buffer, bufferIndex, getDataCount());
                this.info = inf;
            }
            return bufferIndex - start;
        }
    
        private FileInformation createFileInformation() {
            FileInformation inf;
            switch (this.informationLevel) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

            this.attributes = attributes;
    
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel()
         */
        @Override
        public byte getFileInformationLevel() {
            return FileInformation.FILE_BASIC_INFO;
        }
    
        @Override
        public int getAttributes() {
            return this.attributes;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.dtyp.SecurityDescriptor;
    import jcifs.internal.fscc.FileFsFullSizeInformation;
    import jcifs.internal.fscc.FileFsSizeInformation;
    import jcifs.internal.fscc.FileInformation;
    import jcifs.internal.fscc.FileInternalInfo;
    import jcifs.internal.fscc.FileSystemInformation;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.smb2.Smb2Constants;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/BasicFileInformation.java

     * providing access to fundamental file metadata used in SMB file system operations.
     *
     * @author mbechler
     */
    public interface BasicFileInformation extends SmbBasicFileInfo, FileInformation {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top