- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for openRandomAccess (0.06 sec)
-
src/test/java/jcifs/SmbResourceTest.java
// Given when(mockResource.openRandomAccess("rw")).thenReturn(mockRandomAccess); when(mockResource.openRandomAccess("r", 1)).thenReturn(mockRandomAccess); // When SmbRandomAccess ra1 = mockResource.openRandomAccess("rw"); SmbRandomAccess ra2 = mockResource.openRandomAccess("r", 1); // Then
Registered: 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/SmbResource.java
* @return random access file, needs to be closed when finished * @throws CIFSException if an error occurs accessing the resource * */ SmbRandomAccess openRandomAccess(String mode, int sharing) throws CIFSException; /** * Opens the file for random access * * @param mode * access mode (r|rw)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbFile.java
} @Override public SmbRandomAccessFile openRandomAccess(final String mode) throws SmbException { return new SmbRandomAccessFile(this, mode); } @Override public SmbRandomAccessFile openRandomAccess(final String mode, final int sharing) throws SmbException { return new SmbRandomAccessFile(this, mode, sharing, false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)