Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for openRandomAccess (0.08 sec)

  1. src/test/java/jcifs/tests/FileOperationsTest.java

                    try ( SmbFile d1 = createTestDirectory();
                          SmbFile t = new SmbFile(d1, makeRandomName()) ) {
                        try {
                            try ( SmbRandomAccessFile ra = f.openRandomAccess("rw") ) {
                                ra.setLength(length);
                            }
    
                            f.copyTo(t);
                            assertTrue(f.exists());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        @Override
        public SmbRandomAccessFile openRandomAccess ( String mode ) throws SmbException {
            return new SmbRandomAccessFile(this, mode);
        }
    
    
        @Override
        public SmbRandomAccessFile openRandomAccess ( String mode, int sharing ) throws SmbException {
            return new SmbRandomAccessFile(this, mode, sharing, false);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top