- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 147 for getAttributes (0.06 sec)
-
src/main/java/jcifs/smb/DosFileFilter.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
info.endOfFile = 1024; assertEquals("test.txt", info.getName()); assertEquals(SmbFile.TYPE_FILESYSTEM, info.getType()); assertEquals(SmbFile.ATTR_ARCHIVE, info.getAttributes()); assertEquals(1672531200000L, info.createTime()); assertEquals(1672617600000L, info.lastModified()); assertEquals(1024, info.length()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbShareInfo.java
case 1: return SmbFile.TYPE_PRINTER; case 3: return SmbFile.TYPE_NAMED_PIPE; } return SmbFile.TYPE_SHARE; } @Override public int getAttributes() { return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY; } @Override public long createTime() { return 0L; } @Override public long lastModified() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@Test @DisplayName("getAttributes should return file attributes") void testGetAttributes() throws CIFSException { // Given int expectedAttributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE when(mockResource.getAttributes()).thenReturn(expectedAttributes); // When int attributes = mockResource.getAttributes(); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
*/ public FileStandardInfo() { } @Override public byte getFileInformationLevel() { return FILE_STANDARD_INFO; } @Override public int getAttributes() { return 0; } @Override public long getCreateTime() { return 0L; } @Override public long getLastWriteTime() { return 0L; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java
super(config, SMB_COM_QUERY_INFORMATION); this.serverTimeZoneOffset = serverTimeZoneOffset; } @Override public int getAttributes() { return this.fileAttributes; } @Override public long getCreateTime() { return convertTime(this.lastWriteTime); } /** * @param time * @return
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java
return SmbConstants.TYPE_PRINTER; case 3: return SmbConstants.TYPE_NAMED_PIPE; } return SmbConstants.TYPE_SHARE; } @Override public int getAttributes() { return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY; } @Override public long createTime() { return 0L; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntry.java
* Gets the file type. * * @return the file type */ int getType(); /** * Gets the file attributes. * * @return the file attributes */ int getAttributes(); /** * Gets the file creation time. * * @return the creation time in milliseconds since epoch */ long createTime(); /** * Gets the last modified time. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
*/ @Override public byte getFileInformationLevel() { return FileInformation.FILE_BASIC_INFO; } @Override public int getAttributes() { return this.attributes; } @Override public long getCreateTime() { return this.createTime; } @Override public long getLastWriteTime() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* <code>setAttributes( getAttributes() & ~ATTR_READONLY )</code>. * * @throws CIFSException if an error occurs modifying the resource */ void setReadWrite() throws CIFSException; /** * Make this file read-only. This is shorthand for <code>setAttributes( * getAttributes() | ATTR_READ_ONLY )</code>. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1)