Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for FILENAME (0.09 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            File file = new File(dir, filename);
    
            String contents = FileUtils.fileRead(file, encoding);
    
            assertEquals(contentsTest, contents);
        }
    
        public File createFile(File dir, String filename, String contents, String encoding) throws IOException {
            File file = new File(dir, filename);
    
            file.getParentFile().mkdirs();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
            if (idx < 0) {
                result = filename + '-' + repositoryKey;
            } else {
                result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
            }
            return result;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PluginHelper.java

        protected Artifact getArtifactFromFileName(final ArtifactType artifactType, final String filename) {
            return getArtifactFromFileName(artifactType, filename, null);
        }
    
        public Artifact getArtifactFromFileName(final ArtifactType artifactType, final String filename, final String url) {
            final String baseName = StringUtils.removeEndIgnoreCase(filename, ".jar");
            final List<String> nameList = new ArrayList<>();
    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/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

        Object getKey();
    
        /**
         * Get the filename of this metadata on the local repository.
         *
         * @param repository the remote repository it came from
         * @return the filename
         */
        String getLocalFilename(ArtifactRepository repository);
    
        /**
         * Get the filename of this metadata on the remote repository.
         *
         * @return the filename
         */
        String getRemoteFilename();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            }
    
            private String insertRepositoryKey(String filename, String repositoryKey) {
                String result;
                int idx = filename.indexOf('.');
                if (idx < 0) {
                    result = filename + '-' + repositoryKey;
                } else {
                    result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
                }
                return result;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            protected String getBaseFileName(final String filePath) {
                final String fileName = new File(filePath).getName();
                int colonIndex = fileName.indexOf(":");
                if (colonIndex == -1) {
                    colonIndex = fileName.indexOf("\\\\"); // Windows SMB
                }
                final int backslashIndex = fileName.lastIndexOf("\\");
                if (colonIndex > -1 && backslashIndex > -1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. 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[] {
                            Paths.get(System.getProperty("java.home"), "bin/java").toString(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

            return pathOfRepositoryMetadata(metadata, metadata.getLocalFilename(repository));
        }
    
        private String pathOfRepositoryMetadata(ArtifactMetadata metadata, String filename) {
            StringBuilder path = new StringBuilder(128);
    
            path.append(formatAsDirectory(metadata.getGroupId())).append(PATH_SEPARATOR);
            if (!metadata.storedInGroupDirectory()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            // site
            putResultDataBody(dataMap, fessConfig.getIndexFieldSite(), getSite(url, urlEncoding));
            // filename
            if (StringUtil.isNotBlank(fileName)) {
                putResultDataBody(dataMap, fessConfig.getIndexFieldFilename(), fileName);
            }
            // url
            putResultDataBody(dataMap, fessConfig.getIndexFieldUrl(), url);
            // created
    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-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

            return pathOfRepositoryMetadata(metadata.getLocalFilename(repository));
        }
    
        private String pathOfRepositoryMetadata(String filename) {
            StringBuilder path = new StringBuilder(128);
    
            path.append(filename);
    
            return path.toString();
        }
    
        public String pathOfRemoteRepositoryMetadata(ArtifactMetadata metadata) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top