Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for getFilename (2.04 sec)

  1. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         */
        public byte[] getFileId() {
            return this.fileId;
        }
    
        /**
         * Get the file name
         *
         * @return the fileName
         */
        public String getFileName() {
            return this.fileName;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getSize()
         */
        @Override
        public long getSize() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PluginHelper.java

         *
         * @param artifact the artifact to install
         * @throws PluginException if installation fails
         */
        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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            }
    
            @Override
            public int getFileSize() {
                return (int) fileItem.getSize();
            }
    
            @Override
            public String getFileName() {
                return getBaseFileName(fileItem.getName());
            }
    
            protected String getBaseFileName(final String filePath) {
                final String fileName = new File(filePath).getName();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (1)
  5. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

         */
        @Override
        public int getFileIndex() {
            return this.fileIndex;
        }
    
        /**
         * Gets the filename.
         *
         * @return the filename
         */
        public String getFilename() {
            return this.filename;
        }
    
        @Override
        public int getAttributes() {
            return this.extFileAttributes;
        }
    
        @Override
        public long createTime() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            validateApi(form, messages -> {});
            if (form.file == null) {
                throwValidationErrorApi(messages -> messages.addErrorsStorageNoUploadFile(GLOBAL));
            }
            final String fileName = form.file.getFileName();
            try {
                uploadObject(getObjectName(form.path, fileName), form.file);
                saveInfo(messages -> messages.addSuccessUploadFileToStorage(GLOBAL, fileName));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 12.8K 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top