- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 157 for getAttribute (0.04 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertEquals(0, response.getFileAttributes()); } @Test @DisplayName("getAttributes should return same as getFileAttributes") void testGetAttributes() { assertEquals(response.getFileAttributes(), response.getAttributes()); } @Test @DisplayName("getFileId should return the file ID passed in constructor")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
this.name = name; this.size = attrs.getSize(); this.lastModified = attrs.getLastWriteTime(); this.isDirectory = attrs.isDirectory(); this.attributes = attrs.getAttributes(); this.creationTime = attrs.getCreateTime(); this.lastAccessTime = attrs.getLastAccessTime(); } public boolean matches(SmbFileAttributes attrs) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/exentity/Role.java
public void setId(final String id) { asDocMeta().id(id); } @Override public String toString() { return "Role [name=" + name + "]"; } public Map<String, String> getAttributes() { return attributes; } public void setAttributes(final Map<String, String> attributes) { this.attributes = attributes; } @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 1.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0)