Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for getFilename (0.16 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

        }
    
        public File getFile() {
            return file;
        }
    
        public String getRemoteFilename() {
            return getFilename();
        }
    
        public String getLocalFilename(ArtifactRepository repository) {
            return getFilename();
        }
    
        private String getFilename() {
            return getArtifactId() + "-" + artifact.getVersion() + ".pom";
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K 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. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

                Path userHome = Paths.get(System.getProperty("user.home"));
                poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))
                        .filter(p -> p.getFileName().toString().endsWith(".pom"))
                        .collect(Collectors.toList());
            }
        }
    
        @Benchmark
        public int readWithStax(AdditionState state) throws IOException, XMLStreamException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K 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. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                @Override
                public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
                    String filename = file.getFileName().toString();
                    if (mavenArtifactJar.matcher(filename).matches()) {
                        Process p = Runtime.getRuntime().exec(new String[] {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  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. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                    Matcher linkMatcher = linkWithHashPattern.matcher(link);
                    if (linkMatcher.matches()) {
                        MatchResult result = linkMatcher.toMatchResult();
                        String fileName = getFileName(result.group(1), sourceFile);
                        File referencedFile = new File(getDocumentationRoot().get().getAsFile(), fileName);
                        if (!referencedFile.exists() || referencedFile.isDirectory()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 08:08:05 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            if (maxSiteLength > -1) {
                return StringUtils.abbreviate(value, maxSiteLength);
            }
            return value;
        }
    
        default String getFileName(final String url, final String encoding) {
            if (StringUtil.isBlank(url)) {
                return StringUtil.EMPTY;
            }
    
            int idx = 0;
            String u = url;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top