Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getFileName (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                    }
                    if (!form.jarFile.getFileName().endsWith(".jar")) {
                        throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, form.jarFile.getFileName()),
                                this::asListHtml);
                    }
                    final String filename = form.jarFile.getFileName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
    
            url = "http://example.com/" + encodeUrl("#") + "/@@folder/test.txt";
            exp = "test.txt";
            assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
    
            url = "http://example.com/test%20+%2B.txt";
            exp = "test  +.txt";
            assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                putValue(data, "Disposition", message.getDisposition());
                putValue(data, "Encoding", message.getEncoding());
                putValue(data, "File-Name", message.getFileName());
                putValue(data, "From", message.getFrom());
                putValue(data, "Line-Count", message.getLineCount());
                putValue(data, "Message-ID", message.getMessageID());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                break;
            default:
                install(artifact);
                break;
            }
        }
    
        protected void install(final Artifact artifact) {
            final String fileName = artifact.getFileName();
            final String url = artifact.getUrl();
            if (StringUtil.isBlank(url)) {
                throw new PluginException("url is blank: " + artifact.getName());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                try (Stream<Path> stream = Files.list(logDirPath)) {
                    stream.filter(entry -> isLogFilename(entry.getFileName().toString())).forEach(filePath -> {
                        final ZipEntry entry = new ZipEntry(id + "/" + filePath.getFileName().toString());
                        try {
                            zos.putNextEntry(entry);
                            final long len = Files.copy(filePath, zos);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            try {
                uploadObject(getObjectName(form.path, form.uploadFile.getFileName()), form.uploadFile);
            } catch (final StorageException e) {
                logger.warn("Failed to upload {}", form.uploadFile.getFileName(), e);
                throwValidationError(messages -> messages.addErrorsStorageFileUploadFailure(GLOBAL, form.uploadFile.getFileName()),
                        () -> asListHtml(encodeId(form.path)));
    
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MoreFiles.java

       * not include the '{@code .}'.
       *
       * <p><b>Note:</b> This method simply returns everything after the last '{@code .}' in the file's
       * name as determined by {@link Path#getFileName}. It does not account for any filesystem-specific
       * behavior that the {@link Path} API does not already account for. For example, on NTFS it will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/MoreFiles.java

       * not include the '{@code .}'.
       *
       * <p><b>Note:</b> This method simply returns everything after the last '{@code .}' in the file's
       * name as determined by {@link Path#getFileName}. It does not account for any filesystem-specific
       * behavior that the {@link Path} API does not already account for. For example, on NTFS it will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            String extention;
            String filePrefix;
            if (StringUtil.isNotBlank(resourceName)) {
                final String name = getFileName(resourceName);
                final String[] strings = name.split("\\.");
                final StringBuilder buf = new StringBuilder(100);
                if (strings.length > 1) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ResourceUtil.java

            File dir = null;
            final URL url = getResource(path);
            if ("file".equals(url.getProtocol())) {
                final int num = path.split("/").length;
                dir = new File(getFileName(url));
                for (int i = 0; i < num; ++i) {
                    dir = dir.getParentFile();
                }
            } else {
                dir = new File(JarFileUtil.toJarFilePath(url));
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top