- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 61 for AutoCloseable (0.07 sec)
-
src/main/java/jcifs/SmbTreeHandle.java
* * @author mbechler * */ public interface SmbTreeHandle extends AutoCloseable { /** * Gets the active configuration for this tree handle * @return the active configuration */ Configuration getConfig(); /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override void close() throws CIFSException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
import java.util.List; import java.util.concurrent.Callable; /** * Handle for receiving change notifications from an SMB server * * * @author mbechler * */ public interface SmbWatchHandle extends AutoCloseable, Callable<List<FileNotifyInformation>> { /** * Get the next set of changes * * Will block until the server returns a set of changes that match the given filter. The file will be automatically
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/CloseableIteratorTest.java
// Then verify(mockIterator).close(); } @Test @DisplayName("Should extend Iterator and AutoCloseable") void testInterfaceInheritance() { // Then assertTrue(java.util.Iterator.class.isAssignableFrom(CloseableIterator.class)); assertTrue(AutoCloseable.class.isAssignableFrom(CloseableIterator.class)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 964 bytes - Viewed (0) -
src/main/java/jcifs/SmbTransport.java
*/ package jcifs; /** * Opaque reference to a SMB transport * * @author mbechler * * <p>This interface is intended for internal use.</p> */ public interface SmbTransport extends AutoCloseable { /** * Gets the CIFS context associated with this transport. * * @return the context this transport is attached to */ CIFSContext getContext(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbFileHandle.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; /** * Handle to an open file * * @author mbechler * */ public interface SmbFileHandle extends AutoCloseable { /** * Returns the tree handle associated with this file handle * * @return the tree */ SmbTreeHandle getTree(); /** * Checks if this file handle is still validRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertNotNull(passwordArray); assertArrayEquals("TestPass123!".toCharArray(), passwordArray); } /** * Test AutoCloseable implementation */ @Test @DisplayName("Test AutoCloseable with try-with-resources") public void testAutoCloseable() { char[] testPassword = "AutoClosePass123!".toCharArray();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java
import jcifs.dcerpc.rpc; import jcifs.smb.SmbException; /** * LSA policy handle for Local Security Authority operations. */ public class LsaPolicyHandle extends rpc.policy_handle implements AutoCloseable { private final DcerpcHandle handle; private boolean opened; /** * Constructs an LSA policy handle. * * @param handle the DCERPC handle * @param server the server nameRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java
* This class represents an open handle to a SAM alias and provides * operations for managing alias membership and properties. */ public class SamrAliasHandle extends rpc.policy_handle implements AutoCloseable { private final DcerpcHandle handle; private boolean opened; /** * Creates a new SAM alias handle. * * @param handle the DCE/RPC handle for communicationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java
* This class represents an open handle to a SAM domain and provides * operations for managing domain users, groups, and aliases. */ public class SamrDomainHandle extends rpc.policy_handle implements AutoCloseable { private final DcerpcHandle handle; private boolean opened; /** * Creates a new SAM domain handle. * * @param handle the DCE/RPC handle for communicationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
import jakarta.annotation.PostConstruct; import jakarta.annotation.Resource; /** * A factory class for managing and creating crawler clients based on URL patterns. * This class implements AutoCloseable to properly handle resource cleanup. * * <p>The factory maintains a map of regular expression patterns to crawler clients, * allowing for URL-based client selection. Clients can be added with specific patterns
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 7.3K bytes - Viewed (0)