Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for getFilename (0.1 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

            requireNonNull(path, "path");
            try {
                return path.toRealPath();
            } catch (IOException e) {
                return getCanonicalPath(path.getParent()).resolve(path.getFileName());
            }
        }
    
        @Nonnull
        public static Map<String, String> toMap(Properties properties) {
            requireNonNull(properties, "properties");
            HashMap<String, String> map = new HashMap<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. 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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                 * depending on how the model was constructed (from filesystem or from repository).
                 */
                if (child.getProjectDirectory() != null) {
                    childName = child.getProjectDirectory().getFileName().toString();
                }
    
                for (String module : parent.getModules()) {
                    module = module.replace('\\', '/');
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @throws IllegalArgumentException if the session, project or path is null
         */
        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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/AllTests.java

         * @throws IOException
         */
        protected static void loadConfigFile ( Path config, String[] applyMutations, Map<String, Map<String, String>> configs ) throws IOException {
            String fname = config.getFileName().toString();
            if ( !fname.endsWith(".conf") ) {
                return;
            }
            Properties props = new Properties();
            try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                if (buf.length() > 0) {
                    buf.append(' ');
                }
                buf.append(contentMeta);
            }
            final String fileName = getFileName(url, urlEncoding);
            if (StringUtil.isNotBlank(fileName) && fessConfig.isCrawlerDocumentAppendFilename()) {
                buf.append(' ').append(fileName);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            final String body = getSingleNodeValue(document, getContentXpath(fessConfig, xpathConfigMap),
                    prunedContent ? node -> pruneNode(node, crawlingConfig) : node -> node);
            final String fileName = getFileName(url, urlEncoding);
            putResultDataContent(dataMap, responseData, fessConfig, crawlingConfig, documentHelper, body, fileName);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

        private static Path getCanonicalPath(Path path) {
            try {
                return path.toRealPath();
            } catch (IOException e) {
                return getCanonicalPath(path.getParent()).resolve(path.getFileName());
            }
        }
    
        static class ExitException extends Exception {
            int exitCode;
    
            ExitException(int exitCode) {
                this.exitCode = exitCode;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top