Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getFileName (0.1 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top