Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for getFileName (0.05 sec)

  1. src/main/java/jcifs/FileNotifyInformation.java

         */
        int getAction();
    
        /**
         * Gets the name of the file affected by the action.
         *
         * @return the file name affected by the action
         */
        String getFileName();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                                    }
                                }
                            });
                } catch (final Exception e) {
                    logger.warn("Failed to process request file: {}", form.requestFile.getFileName(), e);
                    throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, e.getMessage()),
                            () -> asListHtml(this::saveToken));
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            assertEquals("test", artifact.getName());
            assertEquals("1.0.0", artifact.getVersion());
            assertEquals("http://test.com/test.jar", artifact.getUrl());
            assertEquals("test-1.0.0.jar", artifact.getFileName());
            assertEquals(ArtifactType.UNKNOWN, artifact.getType());
        }
    
        public void test_Artifact_constructorWithoutUrl() {
            Artifact artifact = new Artifact("test", "1.0.0");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         * @param encoding the character encoding (currently unused in this method)
         * @return the extracted filename, or empty string if none found
         */
        default String getFileName(final String url, final String encoding) {
            if (StringUtil.isBlank(url)) {
                return StringUtil.EMPTY;
            }
    
            int idx = 0;
            String u = url;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                                final PDEmbeddedFile embeddedFile = getEmbeddedFile(complexFileSpec);
                                extractFile(complexFileSpec.getFilename(), embeddedFile, writer);
                            }
                        }
                    }
                } catch (final IOException e) {
                    logger.warn("Failed to parse annotation.", e);
                }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        public final byte[] getFileId() {
            return this.fileId;
        }
    
        /**
         * Get the file name
         * @return the fileName
         */
        public final String getFileName() {
            return this.fileName;
        }
    
        /**
         * Get the create context responses
         * @return the createContexts
         */
        public CreateContextResponse[] getCreateContexts() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            assertEquals(0xA5A5A5A5, resp.getAttributes()); // SmbBasicFileInfo mapping
            assertArrayEquals(fileId, resp.getFileId());
            assertEquals("file.txt", resp.getFileName());
    
            // No create contexts section present -> null
            assertNull(resp.getCreateContexts());
        }
    
        @Test
        void decode_withCreateContext_unrecognized_yieldsEmptyArray() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, () -> asListHtml(form));
            verifyToken(this::asListHtml);
            final String uploadedFileName = form.designFile.getFileName();
            String fileName = form.designFileName;
            if (StringUtil.isBlank(fileName)) {
                fileName = uploadedFileName;
                try {
                    int pos = fileName.indexOf('/');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

        @Secured({ ROLE })
        public HtmlResponse upload(final UploadForm form) {
            validate(form, messages -> {}, this::asListHtml);
            verifyToken(this::asListHtml);
            final String fileName = form.bulkFile.getFileName();
            final File tempFile = ComponentUtil.getSystemHelper().createTempFile("fess_restore_", ".tmp");
            try (final InputStream in = form.bulkFile.getInputStream(); final OutputStream out = new FileOutputStream(tempFile)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @param path the path to the artifact file
         */
        default void attachArtifact(@Nonnull Session session, @Nonnull Project project, @Nonnull Path path) {
            String name = path.getFileName().toString();
            int dot = name.lastIndexOf('.');
            String ext = dot >= 1 ? name.substring(dot + 1) : "";
            ProducedArtifact artifact = session.createProducedArtifact(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top