Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for iloc (0.14 sec)

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

        @Test
        public void transportReuseSimple () throws CIFSException {
            CIFSContext ctx = withTestNTLMCredentials(getContext());
            String loc = getTestShareURL();
            try ( SmbResource f1 = ctx.get(loc) ) {
                f1.exists();
                try ( SmbResource f2 = ctx.get(loc) ) {
                    f2.exists();
                    connectionMatches(f1, f2);
                }
            }
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

        @Override
        protected final FileEntry open () throws CIFSException {
            SmbResourceLocator loc = this.getParent().getLocator();
            String unc = loc.getUNCPath();
            String p = loc.getURL().getPath();
            if ( p.lastIndexOf('/') != ( p.length() - 1 ) ) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if ( unc.lastIndexOf('\\') != ( unc.length() - 1 ) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 5.3K bytes
    - Viewed (0)
Back to top