Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for getParent (0.2 sec)

  1. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                            Files.createDirectories(path.getParent());
                            Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING);
                        } else if ("css".equals(names[0])) {
                            names[0] = themeName;
                            final Path path = ResourceUtil.getCssPath(names);
                            Files.createDirectories(path.getParent());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

        @Override
        public ClassLoader next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final ClassLoader result = classLoader;
            classLoader = classLoader.getParent();
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

            this.delegate = delegate;
            this.filter = filter;
            this.next = advance();
        }
    
    
        /**
         * @return the parent
         */
        protected final SmbResource getParent () {
            return this.parent;
        }
    
    
        /**
         * @return
         * 
         */
        private SmbResource advance () {
            while ( this.delegate.hasNext() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileLocationTest.java

        public void testParentRoot () throws MalformedURLException, CIFSException {
            try ( SmbFile p = new SmbFile("smb://", getContext());
                  SmbResource pp = new SmbFile(p.getParent(), getContext()) ) {
                assertEquals("smb://", p.getLocator().getParent());
                assertEquals(SmbConstants.TYPE_WORKGROUP, pp.getLocator().getType());
                assertNull(pp.getLocator().getServer());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java

    
        /**
         * @param fe
         * @return
         * @throws MalformedURLException
         */
        @Override
        protected SmbResource adapt ( FileEntry e ) throws MalformedURLException {
            return new SmbFile(getParent(), e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L, 0L, 0L);
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

        }
    
        protected static Map<String, Object> getDataMap(final Map<String, Object> params) {
            if (params instanceof final ParamMap<String, Object> paramMap) {
                return paramMap.getParent();
            }
            return params;
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

         * @throws CIFSException
         */
        @SuppressWarnings ( "resource" )
        @Override
        protected FileEntry open () throws CIFSException {
            SmbTreeHandleImpl th = getTreeHandle();
            String uncPath = getParent().getLocator().getUNCPath();
            Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath);
            create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 16:15:08 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Delete {}", path);
                    }
    
                    Path parent = path.getParent();
                    while (deleteEmptyDirectory(parent)) {
                        parent = parent.getParent();
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to delete {}", path, e);
                }
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *           <code>smb1://</code> if the resource refers to the root of the URL
     *           hierarchy which incedentally is also <code>smb1://</code>.
     */
    
        public String getParent() {
            String str = url.getAuthority();
    
            if( str.length() > 0 ) {
                StringBuffer sb = new StringBuffer( "smb1://" );
    
                sb.append( str );
    
    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)
  10. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

        }
    
    
        @SuppressWarnings ( "resource" )
        @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 ) ) {
    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