- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for adapted (0.24 sec)
-
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
assertNotNull(r1, "First adapted resource must not be null"); // For workgroup/server entries, names end with '/' assertTrue(r1.getName().endsWith("/"), "Name should end with '/'"); assertTrue(itr.hasNext(), "Should have second element ready"); SmbResource r2 = itr.next(); assertNotNull(r2, "Second adapted resource must not be null");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/DfsReferralData.java
/** * Unwrap the referral data to a specific implementation type * * @param <T> the target type to unwrap to * @param type the class of the target type * @return the referral adapted to type * @throws ClassCastException * if the type is not valid for this object */ <T extends DfsReferralData> T unwrap(Class<T> type); /**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/smb/FileEntryAdapterIteratorTest.java
} @Test @DisplayName("Adapter throwing MalformedURLException on all entries") void adapterThrowsOnAllEntries() { // Setup FileEntry entry1 = mock(FileEntry.class); FileEntry entry2 = mock(FileEntry.class); when(delegate.hasNext()).thenReturn(true, true, false); when(delegate.next()).thenReturn(entry1, entry2); // Adapter that always throwsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
README.md
- **Builder Pattern** - `CopyOptions` for configuring bean copying operations with fluent API - **Adapter Pattern** - Logging adapters (`JclLoggerAdapter`, `JulLoggerAdapter`) for different logging frameworks - **Template Method** - Resource traversal utilities with customizable handlers
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
protected SmbResource adapt(FileEntry e) { adaptCalled[0] = true; assertEquals(mockFileEntry1, e, "Should adapt the correct entry"); return mockResource1; } }; // When SmbResource result = iterator.next(); // Then assertTrue(adaptCalled[0], "Adapt method should have been called");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/ShareEnumIterator.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- Update change notification handling --- ### Phase 5: RDMA (SMB Direct) Support **Priority: LOW** | **Estimated Effort: 8-10 weeks** RDMA provides high-speed, low-latency data transfer for supported network adapters. #### 5.1 Core RDMA Infrastructure ``` Package: jcifs.internal.smb2.rdma ├── RdmaTransport.java - RDMA transport implementation ├── RdmaCapability.java - RDMA capability detection
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java
super(parent, delegate, filter); } /** * @param fe * @return * @throws MalformedURLException */ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L, 0L, 0L); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
super(parent, delegate, filter); } /** * @param fe * @return * @throws MalformedURLException */ @Override protected SmbResource adapt(final FileEntry e) throws MalformedURLException { return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(), e.lastModified(), e.lastAccess(), e.length());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0)