Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for close (0.15 sec)

  1. src/main/java/org/codelibs/curl/CurlResponse.java

        private String encoding;
    
        private Exception contentException;
    
        private Map<String, List<String>> headers;
    
        @Override
        public void close() throws IOException {
            if (contentCache != null) {
                contentCache.close();
            }
        }
    
        public <T> T getContent(final Function<CurlResponse, T> parser) {
            return parser.apply(this);
        }
    
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/PropertiesUtil.java

            try {
                props.load(reader);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            } finally {
                CloseableUtil.close(reader);
            }
        }
    
        /**
         * プラットフォームデフォルトエンコーディングでファイルを読み込んで{@link Properties}にロードします(例外処理はラップします)。
         *
         * @param props
         *            プロパティセット。{@literal null}であってはいけません
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            return ans;
        }
        void close( int f, long lastWriteTime ) throws SmbException {
    
            if( log.level >= 3 )
                log.println( "close: " + f );
    
            /*
             * Close Request / Response
             */
    
            send( new SmbComClose( f, lastWriteTime ), blank_resp() );
        }
        void close( long lastWriteTime ) throws SmbException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

                throw new FileAccessException("ECL0112", new Object[] { propertiesFile.getAbsolutePath() }, e);
            } finally {
                if (fos != null) {
                    try {
                        fos.close();
                    } catch (final IOException e) {
                        // ignore
                    }
                }
            }
            lastModified = propertiesFile.lastModified();
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/SessionTest.java

                f.connect();
                assertFalse(true);
            }
            catch ( SmbAuthException e ) {
                // ignore
            }
    
            assertFalse(cifsContext.close());
        }
    
    
        // #46
        @Test
        public void testCredentialURLs () throws MalformedURLException, SmbException {
            try {
                testCredentialUrl(
    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)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if ( this.socket != null ) {
                    this.socket.close();
                    this.socket = null;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                counter++;
            }
    
            @Override
            public void close() {
                if (counter > 1) {
                    counter--;
                } else {
                    contextLocal.remove();
                    if (context != null) {
                        try {
                            context.close();
                        } catch (final NamingException e) {
                            // ignored
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ResourceUtil.java

            try {
                props.load(is);
                return props;
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
            } finally {
                CloseableUtil.close(is);
            }
        }
    
        /**
         * パスの拡張子を返します。
         *
         * @param path
         *            パス。{@literal null}であってはいけません
         * @return 拡張子
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/BaseContext.java

            return this.defaultCredentials;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#close()
         */
        @Override
        public boolean close () throws CIFSException {
            boolean inUse = super.close();
            inUse |= this.transportPool.close();
            return inUse;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    assertTrue(checkFile.exists());
                }
                finally {
                    ostream.close();
                    checkFile.close();
                    f.delete();
                }
            }
        }
    
    
        /**
         * @author Ilan Goldfeld
         */
        // #261
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top