Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for getPath (0.21 sec)

  1. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath("WEB-INF/", "view", names);
        }
    
        public static Path getDictionaryPath(final String... names) {
            return getPath("WEB-INF/", "dict", names);
        }
    
        public static Path getThumbnailPath(final String... names) {
            return getPath("WEB-INF/", "thumbnails", names);
        }
    
        public static Path getSitePath(final String... names) {
            return getPath("WEB-INF/", "site", names);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                        throw new DictionaryException("Failed to update " + dictFile.getPath());
                    }
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to update " + dictFile.getPath(), e);
                }
    
            }).orElse(() -> {
                throw new DictionaryException(dictFile.getPath() + " does not exist.");
            });
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            }
            DfsReferralData other = (DfsReferralData) obj;
    
            return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare())
                    && Objects.equals(getPath(), other.getPath()) && Objects.equals(getPathConsumed(), other.getPathConsumed());
        }
    
    
        /**
         * @param ref
         * @param reqPath
         * @param expire
         * @param consumed
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

                    form.dictId = dictId;
                });
            }).renderWith(data -> {
                stopwordsService.getStopwordsFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
                    throwValidationError(messages -> messages.addErrorsFailedToDownloadStopwordsFile(GLOBAL), this::asDictIndexHtml);
                });
            });
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getPath()) && StringUtil.isEmpty(pi.getName())) {
                return StringUtil.EMPTY;
            }
            if (StringUtil.isEmpty(pi.getPath())) {
                return pi.getName();
            }
            return pi.getPath() + "/" + pi.getName();
        }
    
        public static PathInfo convertToItem(final String id) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                return str.substring(0, i + 1);
            }
    
            return "smb://";
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getPath()
         */
    
        @Override
        public String getPath () {
            return this.url.toString();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getCanonicalURL()
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/FileUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
        }
    
        private String getPath(final String fileName) {
            return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName);
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            SmbResourceLocatorImpl locator = parent.fileLocator.clone();
            CIFSContext tc = parent.getContext();
            URL u = locator.getURL();
    
            FileEntry[] entries;
    
            if ( u.getPath().lastIndexOf('/') != ( u.getPath().length() - 1 ) )
                throw new SmbException(u.toString() + " directory must end with '/'");
    
            if ( locator.getType() != SmbConstants.TYPE_SERVER )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Handler.java

                        host != null && host.length() == 0 ) {
                spec = "//" + spec;
                limit += 2;
            }
            super.parseURL( u, spec, start, limit );
            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if( port == -1 ) {
                port = getDefaultPort();
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/DfsTest.java

            return '\\' + dfsShareRoot.getPath().substring(2 + dfsShare.length()).replace('/', '\\');
        }
    
    
        /**
         * @return
         * @throws URISyntaxException
         */
        private String getDFSShare () throws URISyntaxException {
            URI dfsRoot = new URI(getDFSRootURL());
            String dfsRootPath = dfsRoot.getPath();
            int firstSep = dfsRootPath.indexOf('/', 1);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
Back to top