Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for getFileName (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

                if ( this.lastNameBufferIndex >= bufferIndex
                        && ( e.getNextEntryOffset() == 0 || this.lastNameBufferIndex < ( bufferIndex + e.getNextEntryOffset() ) ) ) {
                    this.lastName = e.getFilename();
                    this.resumeKey = e.getFileIndex();
                }
    
                bufferIndex += e.getNextEntryOffset();
            }
    
            setResults(results);
    
            /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

            String extension;
            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:47:32 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  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/test/java/org/codelibs/core/io/ResourceUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetFileName() throws Exception {
            URL url = new File("/Program File").toURI().toURL();
            assertEquals(getRoot() + "Program File", ResourceUtil.getFileName(url));
            url = ResourceUtil.getResource("java/lang/String.class");
            assertNull(ResourceUtil.getFile(url));
        }
    
        private String getRoot() throws IOException {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top